Lines Matching refs:fpclassify
58 Ambiguous fpclassify(Ambiguous){ return Ambiguous(); } in fpclassify() function
598 #ifdef fpclassify in test_fpclassify()
599 #error fpclassify defined in test_fpclassify()
601 static_assert((std::is_same<decltype(std::fpclassify((float)0)), int>::value), ""); in test_fpclassify()
602 static_assert((std::is_same<decltype(std::fpclassify((double)0)), int>::value), ""); in test_fpclassify()
603 static_assert((std::is_same<decltype(std::fpclassify(0)), int>::value), ""); in test_fpclassify()
604 static_assert((std::is_same<decltype(std::fpclassify((long double)0)), int>::value), ""); in test_fpclassify()
605 static_assert((std::is_same<decltype(fpclassify(Ambiguous())), Ambiguous>::value), ""); in test_fpclassify()
606 assert(std::fpclassify(-1.0) == FP_NORMAL); in test_fpclassify()
607 assert(std::fpclassify(0) == FP_ZERO); in test_fpclassify()
608 assert(std::fpclassify(1) == FP_NORMAL); in test_fpclassify()
609 assert(std::fpclassify(-1) == FP_NORMAL); in test_fpclassify()
610 assert(std::fpclassify(std::numeric_limits<int>::max()) == FP_NORMAL); in test_fpclassify()
611 assert(std::fpclassify(std::numeric_limits<int>::min()) == FP_NORMAL); in test_fpclassify()