Searched refs:float_val (Results 1 – 2 of 2) sorted by relevance
/ndk/tests/device/test-stlport/unit/ |
D | cmath_test.cpp | 42 float float_val = -1.0f; in import_checks() local 51 CPPUNIT_CHECK( are_equals(std::abs(float_val), -float_val) ); in import_checks() 57 CPPUNIT_CHECK( are_equals(std::fabs(float_val), -float_val) ); in import_checks() 120 CPPUNIT_CHECK( are_equals(std::modf(100.5f, &float_val), 0.5f) ); in import_checks() 121 CPPUNIT_CHECK( are_equals(float_val, 100.0f) ); in import_checks() 123 float_val = std::frexp(8.0f, &int_val); in import_checks() 124 CPPUNIT_CHECK( are_equals(float_val * std::pow(2.0f, int_val), 8.0f) ); in import_checks()
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | cmath_test.cpp | 42 float float_val = -1.0f; in import_checks() local 51 CPPUNIT_CHECK( are_equals(std::abs(float_val), -float_val) ); in import_checks() 57 CPPUNIT_CHECK( are_equals(std::fabs(float_val), -float_val) ); in import_checks() 120 CPPUNIT_CHECK( are_equals(std::modf(100.5f, &float_val), 0.5f) ); in import_checks() 121 CPPUNIT_CHECK( are_equals(float_val, 100.0f) ); in import_checks() 123 float_val = std::frexp(8.0f, &int_val); in import_checks() 124 CPPUNIT_CHECK( are_equals(float_val * std::pow(2.0f, int_val), 8.0f) ); in import_checks()
|