Searched refs:nexttoward (Results 1 - 14 of 14) sorted by path

/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp2494 MUTATE_LDBL(nexttoward)
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A Dtgmath.h1058 // nexttoward
1066 __tg_nexttoward(double __x, long double __y) {return nexttoward(__x, __y);}
1072 #undef nexttoward macro
1073 #define nexttoward(__x, __y) __tg_nexttoward(__tg_promote1((__x))(__x), (__y)) macro
/freebsd-current/contrib/llvm-project/libcxx/include/__math/
H A Drounding_functions.h167 // nexttoward
169 inline _LIBCPP_HIDE_FROM_ABI float nexttoward(float __x, long double __y) _NOEXCEPT {
174 _LIBCPP_HIDE_FROM_ABI double nexttoward(double __x, long double __y) _NOEXCEPT {
178 inline _LIBCPP_HIDE_FROM_ABI long double nexttoward(long double __x, long double __y) _NOEXCEPT {
183 inline _LIBCPP_HIDE_FROM_ABI double nexttoward(_A1 __x, long double __y) _NOEXCEPT {
/freebsd-current/contrib/llvm-project/libcxx/include/
H A Dmath.h256 floating_point nexttoward (arithmetic x, long double y);
485 using std::__math::nexttoward;
/freebsd-current/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcmath.inc227 using ::nexttoward;
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dcmath.inc228 using std::nexttoward;
/freebsd-current/contrib/netbsd-tests/lib/libm/
H A Dt_fe_round.c163 atf_tc_set_md_var(tc, "descr", "Checking IEEE 754 rounding using nexttoward()");
172 received = nexttoward(values2[i].input, values2[i].toward);
180 "nexttoward() rounding wrong, difference too large\n"
/freebsd-current/include/
H A Dtgmath.h192 #define nexttoward(x, y) __tg_simplev(x, nexttoward, x, y) macro
/freebsd-current/lib/msun/
H A DMakefile254 MLINKS+=nextafter.3 nexttoward.3 nextafter.3 nexttowardf.3
/freebsd-current/lib/msun/src/
H A Dmath.h491 double nexttoward(double, long double);
H A Ds_nextafter.c76 __weak_reference(nextafter, nexttoward);
H A Ds_nexttoward.c14 * where long double is the same as double, nexttoward() is an alias
29 nexttoward(double x, long double y) function
/freebsd-current/lib/msun/tests/
H A Dnext_test.c28 * Test the correctness of nextafter{,f,l} and nexttoward{,f,l}.
61 test##prec(nexttoward##prec((arg1), (arg2)), (ans), (ex)); \
100 test##prec(copysign##prec(1.0, nexttoward##prec(0.0, -0.0)), -1.0, 0);\
101 test##prec(copysign##prec(1.0, nexttoward##prec(-0.0, 0.0)), 1.0, 0)
117 stest(nexttoward, 0x1p-1074, );
158 /* Cases where nextafter(...) != nexttoward(...) */
159 test(nexttoward(1.0, 1.0 + ldbl_eps), 1.0 + DBL_EPSILON, 0);
227 test(idd(nexttoward(DBL_MAX, DBL_MAX * 2.0L)), INFINITY, ex_over);
229 test(idd(nexttoward(INFINITY, DBL_MAX * 2.0L)), DBL_MAX, 0);
/freebsd-current/tools/regression/include/tgmath/
H A Dtgmath.c139 double (nexttoward)(double x, long double y) { n_double++; } function
565 PRINT("nexttoward",
566 PASS_REAL_FIXED_ARG_REAL_RET(nexttoward, 1) &&
567 PASS_REAL_FIXED_ARG_REAL_RET(nexttoward, ull) &&
568 PASS_REAL_FIXED_ARG_REAL_RET(nexttoward, d) &&
569 PASS_REAL_FIXED_ARG_REAL_RET(nexttoward, fc));

Completed in 416 milliseconds