Searched refs:nexttoward (Results 1 - 11 of 11) sorted by relevance

/freebsd-11.0-release/lib/msun/tests/
H A Dnext_test.c28 * Test the correctness of nextafter{,f,l} and nexttoward{,f,l}.
63 test##prec(nexttoward##prec((arg1), (arg2)), (ans), (ex)); \
102 test##prec(copysign##prec(1.0, nexttoward##prec(0.0, -0.0)), -1.0, 0);\
103 test##prec(copysign##prec(1.0, nexttoward##prec(-0.0, 0.0)), 1.0, 0)
119 stest(nexttoward, 0x1p-1074, );
156 /* Cases where nextafter(...) != nexttoward(...) */
157 test(nexttoward(1.0, 1.0 + ldbl_eps), 1.0 + DBL_EPSILON, 0);
213 test(idd(nexttoward(DBL_MAX, DBL_MAX * 2.0L)), INFINITY, ex_over);
215 test(idd(nexttoward(INFINITY, DBL_MAX * 2.0L)), DBL_MAX, 0);
/freebsd-11.0-release/lib/msun/src/
H A Ds_nextafter.c80 __weak_reference(nextafter, nexttoward);
H A Ds_nexttoward.c18 * where long double is the same as double, nexttoward() is an alias
33 nexttoward(double x, long double y) function
H A Dmath.h482 double nexttoward(double, long double);
/freebsd-11.0-release/contrib/libstdc++/include/tr1/
H A Dmath.h81 using std::tr1::nexttoward;
/freebsd-11.0-release/tools/regression/include/tgmath/
H A Dtgmath.c141 double (nexttoward)(double x, long double y) { n_double++; } function
567 PRINT("nexttoward",
568 PASS_REAL_FIXED_ARG_REAL_RET(nexttoward, 1) &&
569 PASS_REAL_FIXED_ARG_REAL_RET(nexttoward, ull) &&
570 PASS_REAL_FIXED_ARG_REAL_RET(nexttoward, d) &&
571 PASS_REAL_FIXED_ARG_REAL_RET(nexttoward, fc));
/freebsd-11.0-release/include/
H A Dtgmath.h192 #define nexttoward(x, y) __tg_simplev(x, nexttoward, x, y) macro
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Headers/
H A Dtgmath.h1065 // nexttoward
1073 __tg_nexttoward(double __x, long double __y) {return nexttoward(__x, __y);}
1079 #undef nexttoward macro
1080 #define nexttoward(__x, __y) __tg_nexttoward(__tg_promote1((__x))(__x), (__y)) macro
/freebsd-11.0-release/contrib/libc++/include/
H A Dmath.h257 floating_point nexttoward (arithmetic x, long double y);
1300 // nexttoward
1302 inline _LIBCPP_INLINE_VISIBILITY float nexttoward(float __lcpp_x, long double __lcpp_y) _NOEXCEPT {return nexttowardf(__lcpp_x, __lcpp_y);}
1303 inline _LIBCPP_INLINE_VISIBILITY long double nexttoward(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return nexttowardl(__lcpp_x, __lcpp_y);}
1308 nexttoward(_A1 __lcpp_x, long double __lcpp_y) _NOEXCEPT {return nexttoward((double)__lcpp_x, __lcpp_y);}
/freebsd-11.0-release/lib/msun/
H A DMakefile208 MLINKS+=nextafter.3 nexttoward.3 nextafter.3 nexttowardf.3
/freebsd-11.0-release/contrib/libstdc++/
H A Dconfigure31047 nexttoward(0.0, 0.0);
[all...]

Completed in 266 milliseconds