Searched refs:FloatCompare (Results 1 – 1 of 1) sorted by relevance
1006 bool FloatCompare(float a, float b) { return fabs(a - b) < 0.001; } in FloatCompare() function1011 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()