Home
last modified time | relevance | path

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

/ndk/tests/device/test-stlport/unit/
Dcmath_test.cpp43 double double_val = -1.0; in import_checks() local
52 CPPUNIT_CHECK( are_equals(std::abs(double_val), -double_val) ); in import_checks()
58 CPPUNIT_CHECK( are_equals(std::fabs(double_val), -double_val) ); in import_checks()
95 CPPUNIT_CHECK( are_equals(std::modf(100.5, &double_val), 0.5) ); in import_checks()
96 CPPUNIT_CHECK( are_equals(double_val, 100.0) ); in import_checks()
98 double_val = std::frexp(8.0, &int_val); in import_checks()
99 CPPUNIT_CHECK( are_equals(double_val * std::pow(2.0, int_val), 8.0) ); in import_checks()
/ndk/tests/device/test-gnustl-full/unit/
Dcmath_test.cpp43 double double_val = -1.0; in import_checks() local
52 CPPUNIT_CHECK( are_equals(std::abs(double_val), -double_val) ); in import_checks()
58 CPPUNIT_CHECK( are_equals(std::fabs(double_val), -double_val) ); in import_checks()
95 CPPUNIT_CHECK( are_equals(std::modf(100.5, &double_val), 0.5) ); in import_checks()
96 CPPUNIT_CHECK( are_equals(double_val, 100.0) ); in import_checks()
98 double_val = std::frexp(8.0, &int_val); in import_checks()
99 CPPUNIT_CHECK( are_equals(double_val * std::pow(2.0, int_val), 8.0) ); in import_checks()