/openbsd/regress/lib/libc/ldexp/ |
H A D | ldexp_test.c | 36 assert(ldexp(1.0, -1075) >= 0.0); /* zero */ in main() 37 assert(ldexp(ldexp(1.0, -1022), -53) >= 0.0); /* zero */ in main() 39 assert(ldexp(1.0, 1023) > 0.0); /* normal positive */ in main() 41 f = ldexp(1.0, 1024); /* infinite positive */ in main() 45 f = ldexp(ldexp(1.0, 1023), 1); /* infinite positive */ in main() 53 assert(ldexp(-1.0, -1075) <= 0.0); /* zero */ in main() 54 assert(ldexp(ldexp(-1.0, -1022), -53) <= 0.0); /* zero */ in main() 58 f = ldexp(-1.0, 1024); /* infinite negative */ in main() 62 f = ldexp(ldexp(-1.0, 1023), 1); /* infinite negative */ in main() 66 f = ldexp(NAN, 0); in main() [all …]
|
/openbsd/regress/lib/libm/msun/ |
H A D | invtrig_test.c | 66 (tol) * ldexp(1.0, 1 - DBL_MANT_DIG), (excepts)); \ 96 (tol) * ldexp(1.0, 1 - DBL_MANT_DIG), (excepts)); \ 183 test2(atan2, 0.0, ldexp(z, e), 0.0, 0); in ATF_TC_BODY() 184 test2(atan2, -0.0, ldexp(z, e), -0.0, 0); in ATF_TC_BODY() 185 test2(atan2, 0.0, ldexp(-z, e), (double)pi, FE_INEXACT); in ATF_TC_BODY() 186 test2(atan2, -0.0, ldexp(-z, e), (double)-pi, FE_INEXACT); in ATF_TC_BODY() 187 test2(atan2, ldexp(z, e), 0.0, (double)pi / 2, FE_INEXACT); in ATF_TC_BODY() 188 test2(atan2, ldexp(z, e), -0.0, (double)pi / 2, FE_INEXACT); in ATF_TC_BODY() 189 test2(atan2, ldexp(-z, e), 0.0, (double)-pi / 2, FE_INEXACT); in ATF_TC_BODY() 215 test2(atan2, ldexp(z, e), INFINITY, 0.0, 0); in ATF_TC_BODY() [all …]
|
/openbsd/lib/libc/stdlib/ |
H A D | erand48.c | 22 return ldexp((double) xseed[0], -48) + in erand48() 23 ldexp((double) xseed[1], -32) + in erand48() 24 ldexp((double) xseed[2], -16); in erand48()
|
H A D | drand48.c | 25 return ldexp((double) rseed[0], -48) + in drand48() 26 ldexp((double) rseed[1], -32) + in drand48() 27 ldexp((double) rseed[2], -16); in drand48()
|
/openbsd/lib/libc/arch/amd64/gen/ |
H A D | ldexp.c | 42 ldexp(double value, int exp) in ldexp() function 50 DEF_STRONG(ldexp);
|
/openbsd/lib/libc/arch/i386/gen/ |
H A D | ldexp.c | 41 ldexp(double value, int exp) in ldexp() function 49 DEF_STRONG(ldexp);
|
/openbsd/lib/libc/gen/ |
H A D | ldexp.c | 97 ldexp(double x, int n) in ldexp() function 123 DEF_STRONG(ldexp); 126 __strong_alias(ldexpl, ldexp);
|
/openbsd/gnu/usr.bin/binutils/ld/po/ |
H A D | POTFILES.in | 9 ldexp.c 10 ldexp.h
|
/openbsd/gnu/usr.bin/binutils-2.17/ld/po/ |
H A D | POTFILES.in | 10 ldexp.c 11 ldexp.h
|
/openbsd/gnu/lib/libstdc++/libstdc++/include/c_std/ |
H A D | std_cmath.h | 69 #undef ldexp 446 using ::ldexp; 450 ldexp(float __x, int __exp) { return __gnu_cxx::__c99_binding::ldexpf(__x, __exp); } in ldexp() function 453 ldexp(float __x, int __exp) in ldexp() function 454 { return ::ldexp(static_cast<double>(__x), __exp); } in ldexp() 459 ldexp(long double __x, int __exp) { return ::ldexpl(__x, __exp); } in ldexp() function 462 ldexp(long double __x, int __exp) in ldexp() function 463 { return ::ldexp(static_cast<double>(__x), __exp); } in ldexp() 468 ldexp(_Tp __x, int __exp) in ldexp() function 469 { return ::ldexp(static_cast<double>(__x), __exp); } in ldexp()
|
/openbsd/lib/libm/src/ |
H A D | s_fma.c | 169 zs = ldexp(zs, -spread); in fma() 183 p = ldexp(copysign(0x1p-1022, r), -spread); in fma() 190 return (ldexp(r, spread)); in fma()
|
H A D | b_log__D.c | 365 g = ldexp(x, -m); in __log__D() 369 g = ldexp(g, -j); in __log__D()
|
H A D | s_scalbn.c | 26 return ldexp(x, n); in scalbn()
|
/openbsd/lib/libcbor/src/cbor/internal/ |
H A D | loaders.c | 59 val = ldexp(mant, -24); in _cbor_decode_half() 61 val = ldexp(mant + 1024, exp - 25); in _cbor_decode_half()
|
/openbsd/gnu/lib/libiberty/src/ |
H A D | floatformat.c | 383 dto = ldexp (1.0, exponent); in floatformat_to_double() 398 dto += ldexp ((double)mant, in floatformat_to_double() 404 dto += ldexp ((double)mant, exponent - mant_bits); in floatformat_to_double() 531 mant = ldexp (mant, exponent + fmt->exp_bias - 1); in floatformat_from_double()
|
/openbsd/gnu/llvm/clang/lib/Headers/ |
H A D | __clang_cuda_math_forward_declares.h | 117 __DEVICE__ double ldexp(double, int); 118 __DEVICE__ float ldexp(float, int); 240 using ::ldexp;
|
/openbsd/gnu/gcc/libstdc++-v3/include/c_std/ |
H A D | std_cmath.h | 71 #undef ldexp 287 using ::ldexp; 290 ldexp(float __x, int __exp) in ldexp() function 294 ldexp(long double __x, int __exp) in ldexp() function 300 ldexp(_Tp __x, int __exp) in ldexp() function
|
/openbsd/lib/libc/hidden/ |
H A D | math.h | 31 PROTO_NORMAL(ldexp);
|
/openbsd/lib/libc/arch/arm/gen/ |
H A D | Makefile.inc | 5 SRCS+= ldexp.c modf.c nan.c usertc.c
|
/openbsd/lib/libc/arch/hppa/gen/ |
H A D | Makefile.inc | 5 SRCS+= infinity.c ldexp.c modf.c nan.c usertc.c
|
/openbsd/lib/libc/arch/alpha/gen/ |
H A D | Makefile.inc | 4 SRCS+= _setjmp.S fabs.S infinity.c ldexp.c modf.c nan.c setjmp.S
|
/openbsd/lib/libc/arch/powerpc/gen/ |
H A D | Makefile.inc | 1 SRCS+= infinity.c setjmp.S sigsetjmp.S flt_rounds.c ldexp.c modf.c nan.c
|
/openbsd/lib/libc/arch/sh/gen/ |
H A D | Makefile.inc | 3 SRCS+= flt_rounds.c infinity.c ldexp.c modf.c nan.c setjmp.S _setjmp.S
|
/openbsd/gnu/gcc/libstdc++-v3/libmath/ |
H A D | stubs.c | 301 return (float) ldexp(x, exp); in ldexpf() 309 return ldexp((double) x, exp); in ldexpl()
|
/openbsd/lib/libc/arch/powerpc64/gen/ |
H A D | Makefile.inc | 1 SRCS+= infinity.c setjmp.S sigsetjmp.S flt_rounds.c ldexp.c modf.c nan.c
|