Lines Matching refs:fmax
79 Ambiguous fmax(Ambiguous, Ambiguous){ return Ambiguous(); }
948 static_assert((std::is_same<decltype(std::fmax((float)0, (float)0)), float>::value), "");
949 static_assert((std::is_same<decltype(std::fmax((bool)0, (float)0)), double>::value), "");
950 static_assert((std::is_same<decltype(std::fmax((unsigned short)0, (double)0)), double>::value), "");
951 static_assert((std::is_same<decltype(std::fmax((int)0, (long double)0)), long double>::value), "");
952 static_assert((std::is_same<decltype(std::fmax((float)0, (unsigned int)0)), double>::value), "");
953 static_assert((std::is_same<decltype(std::fmax((double)0, (long)0)), double>::value), "");
954 static_assert((std::is_same<decltype(std::fmax((long double)0, (unsigned long)0)), long double>::value), "");
955 static_assert((std::is_same<decltype(std::fmax((int)0, (long long)0)), double>::value), "");
956 static_assert((std::is_same<decltype(std::fmax((int)0, (unsigned long long)0)), double>::value), "");
957 static_assert((std::is_same<decltype(std::fmax((double)0, (double)0)), double>::value), "");
958 static_assert((std::is_same<decltype(std::fmax((long double)0, (long double)0)), long double>::value), "");
959 static_assert((std::is_same<decltype(std::fmax((float)0, (double)0)), double>::value), "");
960 static_assert((std::is_same<decltype(std::fmax((float)0, (long double)0)), long double>::value), "");
961 static_assert((std::is_same<decltype(std::fmax((double)0, (long double)0)), long double>::value), "");
964 static_assert((std::is_same<decltype(std::fmax((int)0, (int)0)), double>::value), "");
965 static_assert((std::is_same<decltype(fmax(Ambiguous(), Ambiguous())), Ambiguous>::value), "");
966 assert(std::fmax(1,0) == 1);