/openbsd-current/regress/lib/libm/nextafter/ |
H A D | Makefile | 3 PROG=nextafter
|
H A D | nextafter.c | 1 /* $OpenBSD: nextafter.c,v 1.2 2011/07/09 03:33:07 martynas Exp $ */ 18 assert(test(nextafter(0.0, 0.0), 0.0)); 19 assert(test(nextafter(-0.0, 0.0), 0.0)); 20 assert(test(nextafter(0.0, -0.0), -0.0)); 21 assert(test(nextafter(-0.0, -0.0), -0.0)); 33 assert(test(nextafter(NAN, 1.0), NAN)); 34 assert(test(nextafter(1.0, NAN), NAN)); 35 assert(test(nextafter(NAN, NAN), NAN)); 45 assert(test(nextafter(0x1.fffffffffffffp+0, INFINITY), 0x1p1)); 46 assert(test(nextafter( [all...] |
/openbsd-current/lib/libm/src/ |
H A D | s_nextafter.c | 14 * nextafter(x,y) 26 nextafter(double x, double y) function 74 DEF_STD(nextafter); variable 75 LDBL_MAYBE_CLONE(nextafter); variable 78 MAKE_UNUSED_CLONE(nexttoward, nextafter); 79 MAKE_UNUSED_CLONE(nexttowardl, nextafter);
|
H A D | s_fma.c | 99 r = nextafter(r, 0); 108 r = nextafter(r, -INFINITY); 117 r = nextafter(r, INFINITY); 133 return (nextafter(z, 0)); 138 return (nextafter(z, -INFINITY)); 141 return (nextafter(z, INFINITY));
|
/openbsd-current/regress/lib/libm/ |
H A D | Makefile | 3 SUBDIR+= exp fenv floor fpaccuracy lgamma modf msun nextafter rint round \
|
/openbsd-current/regress/lib/libm/msun/ |
H A D | next_test.c | 31 * Test the correctness of nextafter{,f,l} and nexttoward{,f,l}. 62 test##prec(nextafter##prec((arg1), (arg2)), (ans), (ex)); \ 102 test##prec(copysign##prec(1.0, nextafter##prec(0.0, -0.0)), -1.0, 0); \ 103 test##prec(copysign##prec(1.0, nextafter##prec(-0.0, 0.0)), 1.0, 0); \ 118 stest(nextafter, 0x1p-1074, ); 162 /* Cases where nextafter(...) != nexttoward(...) */ 229 test(idd(nextafter(DBL_MAX, INFINITY)), INFINITY, ex_over); 230 test(idd(nextafter(INFINITY, 0.0)), DBL_MAX, 0);
|
/openbsd-current/gnu/llvm/libcxx/include/__random/ |
H A D | clamp_to_integral.h | 48 if (__r >= ::nextafter(static_cast<_RealT>(_MaxVal), INFINITY)) {
|
/openbsd-current/gnu/llvm/clang/lib/Headers/ |
H A D | __clang_cuda_math_forward_declares.h | 145 __DEVICE__ double nextafter(double, double); 146 __DEVICE__ float nextafter(float, float); 256 using ::nextafter;
|
H A D | __clang_cuda_cmath.h | 288 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(double, nextafter); 416 using ::nextafter;
|
H A D | tgmath.h | 1040 // 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.h | 242 __DEF_FUN2(float, nextafter) 530 __HIP_OVERLOAD2(double, nextafter) 703 using ::nextafter;
|
H A D | __clang_cuda_math.h | 202 __DEVICE__ double nextafter(double __a, double __b) { function
|
H A D | __clang_hip_math.h | 946 double nextafter(double __x, double __y) { function
|
H A D | opencl-c.h | 7990 * 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...] |
/openbsd-current/gnu/gcc/libstdc++-v3/include/tr1/ |
H A D | math.h | 80 using std::tr1::nextafter;
|
/openbsd-current/include/ |
H A D | tgmath.h | 150 #define nextafter(x, y) __tg_simple2(x, y, nextafter) macro
|
H A D | math.h | 238 double nextafter(double, double);
|
/openbsd-current/lib/libm/hidden/ |
H A D | math.h | 159 PROTO_NORMAL(nextafter); variable
|
/openbsd-current/gnu/llvm/libcxx/include/ |
H A D | math.h | 252 floating_point nextafter (arithmetic x, arithmetic y); 1472 // nextafter 1474 inline _LIBCPP_HIDE_FROM_ABI float nextafter(float __x, float __y) _NOEXCEPT {return __builtin_nextafterf(__x, __y);} 1477 _LIBCPP_HIDE_FROM_ABI double nextafter(double __x, double __y) _NOEXCEPT { 1481 inline _LIBCPP_HIDE_FROM_ABI long double nextafter(long double __x, long double __y) _NOEXCEPT {return __builtin_nextafterl(__x, __y);} 1491 nextafter(_A1 __x, _A2 __y) _NOEXCEPT 1496 return ::nextafter((__result_type)__x, (__result_type)__y);
|
/openbsd-current/lib/libm/ |
H A D | Makefile | 150 lgamma.3 logb.3 lrint.3 lround.3 nan.3 nextafter.3 \
|
/openbsd-current/gnu/usr.bin/perl/ext/POSIX/t/ |
H A D | export.t | 166 nearbyint nextafter nexttoward remainder remquo rint round scalbn
|
/openbsd-current/gnu/usr.bin/perl/ext/POSIX/lib/ |
H A D | POSIX.pm | 431 jn lgamma log1p log2 logb lrint lround nan nearbyint nextafter nexttoward
|
/openbsd-current/gnu/gcc/gcc/ |
H A D | sys-protos.h | 773 extern double nextafter(double, double);
|
/openbsd-current/gnu/usr.bin/gcc/gcc/ |
H A D | sys-protos.h | 773 extern double nextafter(double, double);
|
/openbsd-current/gnu/usr.bin/perl/ext/POSIX/ |
H A D | POSIX.xs | 206 log1p log2 logb lrint lround nan nearbyint nextafter nexttoward remainder 361 # define c99_nextafter nextafter 1019 /* XXX nextafter */ 2532 nextafter = 12 2628 not_here("nextafter");
|