Lines Matching defs:fabs
44 Ambiguous fabs(Ambiguous){ return Ambiguous(); }
270 static_assert((std::is_same<decltype(std::fabs((float)0)), float>::value), "");
271 static_assert((std::is_same<decltype(std::fabs((bool)0)), double>::value), "");
272 static_assert((std::is_same<decltype(std::fabs((unsigned short)0)), double>::value), "");
273 static_assert((std::is_same<decltype(std::fabs((int)0)), double>::value), "");
274 static_assert((std::is_same<decltype(std::fabs((unsigned int)0)), double>::value), "");
275 static_assert((std::is_same<decltype(std::fabs((long)0)), double>::value), "");
276 static_assert((std::is_same<decltype(std::fabs((unsigned long)0)), double>::value), "");
277 static_assert((std::is_same<decltype(std::fabs((long long)0)), double>::value), "");
278 static_assert((std::is_same<decltype(std::fabs((unsigned long long)0)), double>::value), "");
279 static_assert((std::is_same<decltype(std::fabs((double)0)), double>::value), "");
280 static_assert((std::is_same<decltype(std::fabs((long double)0)), long double>::value), "");
283 static_assert((std::is_same<decltype(fabs(Ambiguous())), Ambiguous>::value), "");
284 assert(std::fabs(-1) == 1);