mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-01 15:23:56 +00:00
Add default NaN/Inf to C#, Java, Python (#5107)
* Add default NaN/Inf to C#, Java, Python * Python NaN/Inf test added * Remove MSVC2010/13 dependent code
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
46208b1e91
commit
4fa4d36706
@@ -1,7 +1,7 @@
|
||||
namespace MyGame;
|
||||
|
||||
// Not all programmining languages support this extra table.
|
||||
table MonsterExra {
|
||||
table MonsterExtra {
|
||||
// Float-point values with NaN and Inf defaults.
|
||||
testf_nan:float = nan;
|
||||
testf_pinf:float = +inf;
|
||||
|
||||
Reference in New Issue
Block a user