parent
ccbc8d534a
commit
5dce8a2d8c
@ -47,8 +47,10 @@ public:
|
||||
TS_ASSERT_EQUALS((int)fpclassify(qnan), (int)FP_NAN);
|
||||
TS_ASSERT_EQUALS((int)fpclassify(snan), (int)FP_NAN);
|
||||
TS_ASSERT_EQUALS((int)fpclassify(min), (int)FP_NORMAL);
|
||||
#ifndef OS_WIN // http://trac.wildfiregames.com/ticket/478
|
||||
TS_ASSERT_EQUALS((int)fpclassify(sub), (int)FP_SUBNORMAL);
|
||||
TS_ASSERT_EQUALS((int)fpclassify(sub2), (int)FP_SUBNORMAL);
|
||||
#endif
|
||||
|
||||
TS_ASSERT(!isnan(zero));
|
||||
TS_ASSERT(!isnan(one));
|
||||
@ -87,8 +89,10 @@ public:
|
||||
TS_ASSERT(!isnormal(qnan));
|
||||
TS_ASSERT(!isnormal(snan));
|
||||
TS_ASSERT(isnormal(min));
|
||||
#ifndef OS_WIN // http://trac.wildfiregames.com/ticket/478
|
||||
TS_ASSERT(!isnormal(sub));
|
||||
TS_ASSERT(!isnormal(sub2));
|
||||
#endif
|
||||
}
|
||||
|
||||
void test_fpclassifyf()
|
||||
|
Loading…
Reference in New Issue
Block a user