Home | History | Annotate | Download | only in c.math

Lines Matching refs:isnormal

60 Ambiguous isnormal(Ambiguous){ return Ambiguous(); }
602 #ifdef isnormal
603 #error isnormal defined
605 static_assert((std::is_same<decltype(std::isnormal((float)0)), bool>::value), "");
606 static_assert((std::is_same<decltype(std::isnormal((double)0)), bool>::value), "");
607 static_assert((std::is_same<decltype(std::isnormal(0)), bool>::value), "");
608 static_assert((std::is_same<decltype(std::isnormal((long double)0)), bool>::value), "");
609 static_assert((std::is_same<decltype(isnormal(Ambiguous())), Ambiguous>::value), "");
610 assert(std::isnormal(-1.0) == true);
611 assert(std::isnormal(0) == false);
612 assert(std::isnormal(1) == true);
613 assert(std::isnormal(-1) == true);
614 assert(std::isnormal(std::numeric_limits<int>::max()) == true);
615 assert(std::isnormal(std::numeric_limits<int>::min()) == true);