Lines Matching full:fpclassify
58 Ambiguous fpclassify(Ambiguous){ return Ambiguous(); }
566 #ifdef fpclassify
567 #error fpclassify defined
569 static_assert((std::is_same<decltype(std::fpclassify((float)0)), int>::value), "");
570 static_assert((std::is_same<decltype(std::fpclassify((double)0)), int>::value), "");
571 static_assert((std::is_same<decltype(std::fpclassify(0)), int>::value), "");
572 static_assert((std::is_same<decltype(std::fpclassify((long double)0)), int>::value), "");
573 static_assert((std::is_same<decltype(fpclassify(Ambiguous())), Ambiguous>::value), "");
574 assert(std::fpclassify(-1.0) == FP_NORMAL);
575 assert(std::fpclassify(0) == FP_ZERO);
576 assert(std::fpclassify(1) == FP_NORMAL);
577 assert(std::fpclassify(-1) == FP_NORMAL);
578 assert(std::fpclassify(std::numeric_limits<int>::max()) == FP_NORMAL);
579 assert(std::fpclassify(std::numeric_limits<int>::min()) == FP_NORMAL);