Lines Matching refs:hypot

81 Ambiguous hypot(Ambiguous, Ambiguous){ return Ambiguous(); }
994 static_assert((std::is_same<decltype(std::hypot((float)0, (float)0)), float>::value), "");
995 static_assert((std::is_same<decltype(std::hypot((bool)0, (float)0)), double>::value), "");
996 static_assert((std::is_same<decltype(std::hypot((unsigned short)0, (double)0)), double>::value), "");
997 static_assert((std::is_same<decltype(std::hypot((int)0, (long double)0)), long double>::value), "");
998 static_assert((std::is_same<decltype(std::hypot((float)0, (unsigned int)0)), double>::value), "");
999 static_assert((std::is_same<decltype(std::hypot((double)0, (long)0)), double>::value), "");
1000 static_assert((std::is_same<decltype(std::hypot((long double)0, (unsigned long)0)), long double>::value), "");
1001 static_assert((std::is_same<decltype(std::hypot((int)0, (long long)0)), double>::value), "");
1002 static_assert((std::is_same<decltype(std::hypot((int)0, (unsigned long long)0)), double>::value), "");
1003 static_assert((std::is_same<decltype(std::hypot((double)0, (double)0)), double>::value), "");
1004 static_assert((std::is_same<decltype(std::hypot((long double)0, (long double)0)), long double>::value), "");
1005 static_assert((std::is_same<decltype(std::hypot((float)0, (double)0)), double>::value), "");
1006 static_assert((std::is_same<decltype(std::hypot((float)0, (long double)0)), long double>::value), "");
1007 static_assert((std::is_same<decltype(std::hypot((double)0, (long double)0)), long double>::value), "");
1010 static_assert((std::is_same<decltype(std::hypot((int)0, (int)0)), double>::value), "");
1011 static_assert((std::is_same<decltype(hypot(Ambiguous(), Ambiguous())), Ambiguous>::value), "");
1012 assert(std::hypot(3,4) == 5);