Searched refs:FloatCompare (Results 1 – 1 of 1) sorted by relevance
/external/flatbuffers/tests/ |
D | test.cpp | 1660 bool FloatCompare(float a, float b) { return fabs(a - b) < 0.001; } in FloatCompare() function 1666 FloatCompare(TestValue<float>("{ Y:0.0314159e+2 }", "float"), 3.14159f), in ValueTest() 1669 TEST_EQ(FloatCompare(TestValue<float>("{ Y:\"0.0314159e+2\" }", "float"), in ValueTest() 1674 TEST_EQ(FloatCompare(TestValue<float>("{ Y:cos(rad(180)) }", "float"), -1), in ValueTest() 1929 FloatCompare(TestValue<float>("{ Y:0.0314159e+2 }", "float"), 3.14159f), in ValidFloatTest() 1932 TEST_EQ(FloatCompare(TestValue<float>("{ Y:\" 0.0314159e+2 \" }", "float"), in ValidFloatTest()
|