Searched refs:nextafter (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-current/lib/msun/src/
H A Ds_nextafter.c13 * nextafter(x,y)
25 nextafter(double x, double y) function
76 __weak_reference(nextafter, nexttoward);
77 __weak_reference(nextafter, nexttowardl);
78 __weak_reference(nextafter, nextafterl);
H A Ds_fma.c228 return (nextafter(z, 0));
233 return (nextafter(z, -INFINITY));
236 return (nextafter(z, INFINITY));
H A Dmath.h292 double nextafter(double, double);
/freebsd-current/contrib/llvm-project/libcxx/include/__math/
H A Drounding_functions.h147 // nextafter
149 inline _LIBCPP_HIDE_FROM_ABI float nextafter(float __x, float __y) _NOEXCEPT { return __builtin_nextafterf(__x, __y); }
152 _LIBCPP_HIDE_FROM_ABI double nextafter(double __x, double __y) _NOEXCEPT {
156 inline _LIBCPP_HIDE_FROM_ABI long double nextafter(long double __x, long double __y) _NOEXCEPT {
161 inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2>::type nextafter(_A1 __x, _A2 __y) _NOEXCEPT {
164 return __math::nextafter((__result_type)__x, (__result_type)__y);
/freebsd-current/lib/msun/tests/
H A Dnext_test.c28 * Test the correctness of nextafter{,f,l} and nexttoward{,f,l}.
60 test##prec(nextafter##prec((arg1), (arg2)), (ans), (ex)); \
98 test##prec(copysign##prec(1.0, nextafter##prec(0.0, -0.0)), -1.0, 0); \
99 test##prec(copysign##prec(1.0, nextafter##prec(-0.0, 0.0)), 1.0, 0); \
114 stest(nextafter, 0x1p-1074, );
158 /* Cases where nextafter(...) != nexttoward(...) */
225 test(idd(nextafter(DBL_MAX, INFINITY)), INFINITY, ex_over);
226 test(idd(nextafter(INFINITY, 0.0)), DBL_MAX, 0);
/freebsd-current/contrib/llvm-project/libcxx/include/__random/
H A Dclamp_to_integral.h47 if (__r >= ::nextafter(static_cast<_RealT>(__max_val), INFINITY)) {
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h145 __DEVICE__ double nextafter(double, double);
146 __DEVICE__ float nextafter(float, float);
256 using ::nextafter;
H A D__clang_cuda_cmath.h288 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(double, nextafter);
416 using ::nextafter;
H A Dtgmath.h1040 // nextafter
1048 __tg_nextafter(double __x, double __y) {return nextafter(__x, __y);}
1054 #undef nextafter macro
1055 #define nextafter(__x, __y) __tg_nextafter(__tg_promote2((__x), (__y))(__x), \ macro
H A D__clang_hip_cmath.h242 __DEF_FUN2(float, nextafter)
530 __HIP_OVERLOAD2(double, nextafter)
703 using ::nextafter;
H A D__clang_cuda_math.h202 __DEVICE__ double nextafter(double __a, double __b) { function
H A D__clang_hip_math.h951 double nextafter(double __x, double __y) { function
H A Dopencl-c.h7990 * y. Thus, if y is less than x, nextafter() returns the
7994 float __ovld __cnfn nextafter(float, float);
7995 float2 __ovld __cnfn nextafter(float2, float2);
7996 float3 __ovld __cnfn nextafter(float3, float3);
7997 float4 __ovld __cnfn nextafter(float4, float4);
7998 float8 __ovld __cnfn nextafter(float8, float8);
7999 float16 __ovld __cnfn nextafter(float16, float16);
8001 double __ovld __cnfn nextafter(double, double);
8002 double2 __ovld __cnfn nextafter(double2, double2);
8003 double3 __ovld __cnfn nextafter(double
[all...]
/freebsd-current/lib/msun/
H A DMakefile181 nextafter.3 remainder.3 rint.3 \
253 MLINKS+=nextafter.3 nextafterf.3 nextafter.3 nextafterl.3
254 MLINKS+=nextafter.3 nexttoward.3 nextafter.3 nexttowardf.3
255 MLINKS+=nextafter.3 nexttowardl.3
/freebsd-current/contrib/arm-optimized-routines/pl/math/
H A Derfinvl.c103 double eps = fabs (yf - nextafter (yf, 0));
/freebsd-current/include/
H A Dtgmath.h191 #define nextafter(x, y) __tg_simple2(x, y, nextafter) macro
/freebsd-current/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcmath.inc223 using ::nextafter;
/freebsd-current/contrib/netbsd-tests/lib/libm/
H A Dt_fe_round.c137 atf_tc_set_md_var(tc, "descr", "Checking IEEE 754 rounding using nextafter()");
146 received = nextafter(values2[i].input, values2[i].toward);
154 "nextafter() rounding wrong, difference too large\n"
/freebsd-current/contrib/llvm-project/libcxx/include/
H A Dmath.h252 floating_point nextafter (arithmetic x, arithmetic y);
484 using std::__math::nextafter;
/freebsd-current/tools/regression/include/tgmath/
H A Dtgmath.c137 TGMACRO_REAL_REAL(nextafter)
562 PRINT("nextafter",
563 PASS_REAL_REAL_ARG_REAL_RET(nextafter));
/freebsd-current/contrib/arm-optimized-routines/math/test/
H A Dulp.h91 got = RT(nextafter) (got, want);
H A Dulp.c555 #define nextafter_d nextafter
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dcmath.inc224 using std::nextafter;
/freebsd-current/contrib/bsnmp/tests/
H A Dcatch.hpp11359 float nextafter(float x, float y) {
11363 double nextafter(double x, double y) {
11364 return ::nextafter(x, y);
11367 long double nextafter(long double x, long double y) {
11383 start = Catch::nextafter(start, direction);
11385 start = std::nextafter(start, direction);
/freebsd-current/contrib/googletest/googletest/src/
H A Dgtest.cc1648 nextafter(min_abs, std::numeric_limits<double>::infinity()) - min_abs;

Completed in 241 milliseconds

12