Home
last modified time | relevance | path

Searched refs:ldexp (Results 1 – 25 of 162) sorted by relevance

1234567

/openbsd/regress/lib/libc/ldexp/
H A Dldexp_test.c36 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 Dinvtrig_test.c66 (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 Derand48.c22 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 Ddrand48.c25 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 Dldexp.c42 ldexp(double value, int exp) in ldexp() function
50 DEF_STRONG(ldexp);
/openbsd/lib/libc/arch/i386/gen/
H A Dldexp.c41 ldexp(double value, int exp) in ldexp() function
49 DEF_STRONG(ldexp);
/openbsd/lib/libc/gen/
H A Dldexp.c97 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 DPOTFILES.in9 ldexp.c
10 ldexp.h
/openbsd/gnu/usr.bin/binutils-2.17/ld/po/
H A DPOTFILES.in10 ldexp.c
11 ldexp.h
/openbsd/gnu/lib/libstdc++/libstdc++/include/c_std/
H A Dstd_cmath.h69 #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 Ds_fma.c169 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 Db_log__D.c365 g = ldexp(x, -m); in __log__D()
369 g = ldexp(g, -j); in __log__D()
H A Ds_scalbn.c26 return ldexp(x, n); in scalbn()
/openbsd/lib/libcbor/src/cbor/internal/
H A Dloaders.c59 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 Dfloatformat.c383 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.h117 __DEVICE__ double ldexp(double, int);
118 __DEVICE__ float ldexp(float, int);
240 using ::ldexp;
/openbsd/gnu/gcc/libstdc++-v3/include/c_std/
H A Dstd_cmath.h71 #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 Dmath.h31 PROTO_NORMAL(ldexp);
/openbsd/lib/libc/arch/arm/gen/
H A DMakefile.inc5 SRCS+= ldexp.c modf.c nan.c usertc.c
/openbsd/lib/libc/arch/hppa/gen/
H A DMakefile.inc5 SRCS+= infinity.c ldexp.c modf.c nan.c usertc.c
/openbsd/lib/libc/arch/alpha/gen/
H A DMakefile.inc4 SRCS+= _setjmp.S fabs.S infinity.c ldexp.c modf.c nan.c setjmp.S
/openbsd/lib/libc/arch/powerpc/gen/
H A DMakefile.inc1 SRCS+= infinity.c setjmp.S sigsetjmp.S flt_rounds.c ldexp.c modf.c nan.c
/openbsd/lib/libc/arch/sh/gen/
H A DMakefile.inc3 SRCS+= flt_rounds.c infinity.c ldexp.c modf.c nan.c setjmp.S _setjmp.S
/openbsd/gnu/gcc/libstdc++-v3/libmath/
H A Dstubs.c301 return (float) ldexp(x, exp); in ldexpf()
309 return ldexp((double) x, exp); in ldexpl()
/openbsd/lib/libc/arch/powerpc64/gen/
H A DMakefile.inc1 SRCS+= infinity.c setjmp.S sigsetjmp.S flt_rounds.c ldexp.c modf.c nan.c

1234567