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

Lines Matching refs:fdim

77 Ambiguous fdim(Ambiguous, Ambiguous){ return Ambiguous(); }
887 static_assert((std::is_same<decltype(std::fdim((float)0, (float)0)), float>::value), "");
888 static_assert((std::is_same<decltype(std::fdim((bool)0, (float)0)), double>::value), "");
889 static_assert((std::is_same<decltype(std::fdim((unsigned short)0, (double)0)), double>::value), "");
890 static_assert((std::is_same<decltype(std::fdim((int)0, (long double)0)), long double>::value), "");
891 static_assert((std::is_same<decltype(std::fdim((float)0, (unsigned int)0)), double>::value), "");
892 static_assert((std::is_same<decltype(std::fdim((double)0, (long)0)), double>::value), "");
893 static_assert((std::is_same<decltype(std::fdim((long double)0, (unsigned long)0)), long double>::value), "");
894 static_assert((std::is_same<decltype(std::fdim((int)0, (long long)0)), double>::value), "");
895 static_assert((std::is_same<decltype(std::fdim((int)0, (unsigned long long)0)), double>::value), "");
896 static_assert((std::is_same<decltype(std::fdim((double)0, (double)0)), double>::value), "");
897 static_assert((std::is_same<decltype(std::fdim((long double)0, (long double)0)), long double>::value), "");
898 static_assert((std::is_same<decltype(std::fdim((float)0, (double)0)), double>::value), "");
899 static_assert((std::is_same<decltype(std::fdim((float)0, (long double)0)), long double>::value), "");
900 static_assert((std::is_same<decltype(std::fdim((double)0, (long double)0)), long double>::value), "");
903 static_assert((std::is_same<decltype(std::fdim((int)0, (int)0)), double>::value), "");
904 static_assert((std::is_same<decltype(fdim(Ambiguous(), Ambiguous())), Ambiguous>::value), "");
905 assert(std::fdim(1,0) == 1);