1#define _STLP_DO_IMPORT_CSTD_FUNCTIONS
22#if defined (STLPORT) && !defined (_STLP_USE_NAMESPACES)
39#if !defined (STLPORT) || defined (_STLP_USE_NAMESPACES)
42 float float_val = -1.0f;
43 double double_val = -1.0;
44# if !defined (_STLP_NO_LONG_DOUBLE)
45 long double long_double_val = -1.0l;
53# if !defined (_STLP_NO_LONG_DOUBLE)
59# if !defined (_STLP_NO_LONG_DOUBLE)
63 std::div_t div_res = std::div(3, 2);
66 std::ldiv_t ldiv_res = std::ldiv(3l, 2l);
69 ldiv_res = std::div(3l, 2l);
74 int rand_val = std::rand();
94# if !defined (STLPORT) || !defined (_STLP_USING_PLATFORM_SDK_COMPILER) || !defined (_WIN64)
98 double_val = std::frexp(8.0, &int_val);
107# if !defined (STLPORT) || !defined (_STLP_USING_PLATFORM_SDK_COMPILER) || !defined (_M_AMD64)
119# if !defined (STLPORT) || !defined (_STLP_USING_PLATFORM_SDK_COMPILER) || !defined (_WIN64)
123 float_val = std::frexp(8.0f, &int_val);
132# if !defined (STLPORT) || !defined (_STLP_USING_PLATFORM_SDK_COMPILER) || !defined (_M_AMD64)
136# if !defined (_STLP_NO_LONG_DOUBLE)
145# if !defined (STLPORT) || !defined (_STLP_USING_PLATFORM_SDK_COMPILER) || !defined (_WIN64)
149 long_double_val = std::frexp(8.0l, &int_val);
159# if !defined (STLPORT) || !defined (_STLP_USING_PLATFORM_SDK_COMPILER) || !defined (_M_AMD64)
166# if !defined (_STLP_NO_LONG_DOUBLE)
CPPUNIT_TEST_SUITE(CMathTest)
CPPUNIT_TEST(import_checks)
#define CPPUNIT_TEST_SUITE_REGISTRATION(X)
bool are_equals(_Tp val, _Tp ref)