Files
flatbuffers-bigfoot/tests/monsterdata_extra.json
Vladimir Glavnyy e304f8c115 Extend the test of MonsterExtra (#5428)
* Extend the test of MonsterExtra

- Extend C++ test of MonsterExtra
- Add conversion of fbs/json NaNs to unsigned quiet-NaN
- Update documentation (cross-platform interoperability)

* Fix declaration of infinity constants int the test
2019-07-08 11:22:56 -07:00

16 lines
420 B
JSON

{
// Initialize with non-default values.
d0 : -nan, // match with default
d1 : +inf,
d2 : -inf,
d3: nan,
f0 : +nan, // match with default
f1 : -nan, // match with default
f2 : +inf, // match with default
f3 : -inf, // match with default
// Values should have exact binary representation
// to avoid rounding effects in tests.
dvec : [2.0, +inf, -inf, nan,],
fvec : [1.0, -inf, +inf, nan],
}