Home
last modified time | relevance | path

Searched refs:is_quiet_nan (Results 1 – 1 of 1) sorted by relevance

/external/flatbuffers/tests/
Dtest.cpp681 static bool is_quiet_nan(float v) { in is_quiet_nan() function
684 static bool is_quiet_nan(double v) { in is_quiet_nan() function
689 TEST_EQ(is_quiet_nan(1.0), false); in TestMonsterExtraFloats()
690 TEST_EQ(is_quiet_nan(infinityd), false); in TestMonsterExtraFloats()
691 TEST_EQ(is_quiet_nan(-infinityf), false); in TestMonsterExtraFloats()
692 TEST_EQ(is_quiet_nan(std::numeric_limits<float>::quiet_NaN()), true); in TestMonsterExtraFloats()
693 TEST_EQ(is_quiet_nan(std::numeric_limits<double>::quiet_NaN()), true); in TestMonsterExtraFloats()
717 TEST_EQ(is_quiet_nan(def_extra->f0()), true); in TestMonsterExtraFloats()
718 TEST_EQ(is_quiet_nan(def_extra->f1()), true); in TestMonsterExtraFloats()
721 TEST_EQ(is_quiet_nan(def_extra->d0()), true); in TestMonsterExtraFloats()
[all …]