38{
39#if !defined (STLPORT) || defined (_STLP_USE_NAMESPACES)
40 int int_val = -1;
41 long long_val = -1l;
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;
46# endif
47
53# if !defined (_STLP_NO_LONG_DOUBLE)
55# endif
56
59# if !defined (_STLP_NO_LONG_DOUBLE)
61# endif
62
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);
72
73 std::srand(2);
74 int rand_val = std::rand();
76
82
83
84
85
86
87
88
89
94# if !defined (STLPORT) || !defined (_STLP_USING_PLATFORM_SDK_COMPILER) || !defined (_WIN64)
97# endif
98 double_val = std::frexp(8.0, &int_val);
107# if !defined (STLPORT) || !defined (_STLP_USING_PLATFORM_SDK_COMPILER) || !defined (_M_AMD64)
109# endif
110
119# if !defined (STLPORT) || !defined (_STLP_USING_PLATFORM_SDK_COMPILER) || !defined (_WIN64)
122# endif
123 float_val = std::frexp(8.0f, &int_val);
132# if !defined (STLPORT) || !defined (_STLP_USING_PLATFORM_SDK_COMPILER) || !defined (_M_AMD64)
134# endif
135
136# if !defined (_STLP_NO_LONG_DOUBLE)
145# if !defined (STLPORT) || !defined (_STLP_USING_PLATFORM_SDK_COMPILER) || !defined (_WIN64)
148# endif
149 long_double_val = std::frexp(8.0l, &int_val);
159# if !defined (STLPORT) || !defined (_STLP_USING_PLATFORM_SDK_COMPILER) || !defined (_M_AMD64)
161# endif
162# endif
163
166# if !defined (_STLP_NO_LONG_DOUBLE)
168# endif
169#endif
170}
bool are_equals(_Tp val, _Tp ref)