Searched refs:long_double_val (Results 1 – 2 of 2) sorted by relevance
/ndk/tests/device/test-stlport/unit/ |
D | cmath_test.cpp | 45 long double long_double_val = -1.0l; in import_checks() local 54 CPPUNIT_CHECK( are_equals(std::abs(long_double_val), -long_double_val) ); in import_checks() 60 CPPUNIT_CHECK( are_equals(std::fabs(long_double_val), -long_double_val) ); in import_checks() 146 CPPUNIT_CHECK( are_equals(std::modf(100.5l, &long_double_val), 0.5l) ); in import_checks() 147 CPPUNIT_CHECK( are_equals(long_double_val, 100.0l) ); in import_checks() 149 long_double_val = std::frexp(8.0l, &int_val); in import_checks() 150 CPPUNIT_CHECK( are_equals(long_double_val * std::pow(2.0l, int_val), 8.0l) ); in import_checks()
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | cmath_test.cpp | 45 long double long_double_val = -1.0l; in import_checks() local 54 CPPUNIT_CHECK( are_equals(std::abs(long_double_val), -long_double_val) ); in import_checks() 60 CPPUNIT_CHECK( are_equals(std::fabs(long_double_val), -long_double_val) ); in import_checks() 146 CPPUNIT_CHECK( are_equals(std::modf(100.5l, &long_double_val), 0.5l) ); in import_checks() 147 CPPUNIT_CHECK( are_equals(long_double_val, 100.0l) ); in import_checks() 149 long_double_val = std::frexp(8.0l, &int_val); in import_checks() 150 CPPUNIT_CHECK( are_equals(long_double_val * std::pow(2.0l, int_val), 8.0l) ); in import_checks()
|