Home
last modified time | relevance | path

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

/external/flatbuffers/tests/
Dtest.cpp1006 bool FloatCompare(float a, float b) { return fabs(a - b) < 0.001; } in FloatCompare() function
1011 TEST_EQ(FloatCompare(TestValue<float>("{ Y:0.0314159e+2 }","float"), in ValueTest()
1015 TEST_EQ(FloatCompare(TestValue<float>("{ Y:cos(rad(180)) }","float"), -1), in ValueTest()