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

Lines Matching defs:nexttoward

93 Ambiguous nexttoward(Ambiguous, Ambiguous){ return Ambiguous(); }
1237 static_assert((std::is_same<decltype(std::nexttoward((float)0, (long double)0)), float>::value), "");
1238 static_assert((std::is_same<decltype(std::nexttoward((bool)0, (long double)0)), double>::value), "");
1239 static_assert((std::is_same<decltype(std::nexttoward((unsigned short)0, (long double)0)), double>::value), "");
1240 static_assert((std::is_same<decltype(std::nexttoward((int)0, (long double)0)), double>::value), "");
1241 static_assert((std::is_same<decltype(std::nexttoward((unsigned int)0, (long double)0)), double>::value), "");
1242 static_assert((std::is_same<decltype(std::nexttoward((long)0, (long double)0)), double>::value), "");
1243 static_assert((std::is_same<decltype(std::nexttoward((unsigned long)0, (long double)0)), double>::value), "");
1244 static_assert((std::is_same<decltype(std::nexttoward((long long)0, (long double)0)), double>::value), "");
1245 static_assert((std::is_same<decltype(std::nexttoward((unsigned long long)0, (long double)0)), double>::value), "");
1246 static_assert((std::is_same<decltype(std::nexttoward((double)0, (long double)0)), double>::value), "");
1247 static_assert((std::is_same<decltype(std::nexttoward((long double)0, (long double)0)), long double>::value), "");
1250 static_assert((std::is_same<decltype(nexttoward(Ambiguous(), Ambiguous())), Ambiguous>::value), "");
1251 assert(std::nexttoward(0, 1) == hexfloat<double>(0x1, 0, -1074));