Home
last modified time | relevance | path

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

123

/freebsd/lib/msun/tests/
H A Dinvtrig_test.c64 (tol) * ldexp(1.0, 1 - DBL_MANT_DIG), (excepts)); \
94 (tol) * ldexp(1.0, 1 - DBL_MANT_DIG), (excepts)); \
181 test2(atan2, 0.0, ldexp(z, e), 0.0, 0); in ATF_TC_BODY()
182 test2(atan2, -0.0, ldexp(z, e), -0.0, 0); in ATF_TC_BODY()
183 test2(atan2, 0.0, ldexp(-z, e), (double)pi, FE_INEXACT); in ATF_TC_BODY()
184 test2(atan2, -0.0, ldexp(-z, e), (double)-pi, FE_INEXACT); in ATF_TC_BODY()
185 test2(atan2, ldexp(z, e), 0.0, (double)pi / 2, FE_INEXACT); in ATF_TC_BODY()
186 test2(atan2, ldexp(z, e), -0.0, (double)pi / 2, 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()
[all …]
/freebsd/lib/libc/gen/
H A Derand48.c20 return ldexp((double) xseed[0], -48) + in erand48()
21 ldexp((double) xseed[1], -32) + in erand48()
22 ldexp((double) xseed[2], -16); in erand48()
H A Dldexp.c5 #define scalbn ldexp
H A DMakefile.inc256 ldexp.3 \
446 MLINKS+=ldexp.3 ldexpf.3 \
447 ldexp.3 ldexpl.3
/freebsd/contrib/netbsd-tests/lib/libm/
H A Dt_ldexp.c174 v = ldexp(table->x, table->exp1); in run_test()
177 v = ldexp(v, table->exp2); in run_test()
203 double y = ldexp(x, n[i]); in ATF_TC_BODY()
228 y = ldexp(x, exps[i]); in ATF_TC_BODY()
245 ATF_CHECK(ldexp(x, exps[i]) == x); in ATF_TC_BODY()
260 ATF_CHECK(ldexp(x, exps[i]) == x); in ATF_TC_BODY()
278 y = ldexp(x, exps[i]); in ATF_TC_BODY()
299 y = ldexp(x, exps[i]); in ATF_TC_BODY()
H A Dt_scalbn.c174 ATF_CHECK_MSG(y == ldexp(x, exps[i]), "test %zu: exponent=%d, " in ATF_TC_BODY()
176 ldexp(x, exps[i]), y - ldexp(x, exps[i])); in ATF_TC_BODY()
/freebsd/lib/msun/bsdsrc/
H A Db_exp.c114 return (ldexp(1 + (hi - (lo - c)), k)); in __exp__D()
117 return (isfinite(x) ? ldexp(1., -5000) : 0); in __exp__D()
121 return (isfinite(x) ? ldexp(1., 5000) : x); in __exp__D()
H A Db_log.c374 g = ldexp(g, -j); in __log__D()
/freebsd/contrib/llvm-project/libcxx/include/__math/
H A Dexponential_functions.h63 inline _LIBCPP_HIDE_FROM_ABI float ldexp(float __x, int __e) _NOEXCEPT { return __builtin_ldexpf(__… in ldexp() function
66 _LIBCPP_HIDE_FROM_ABI double ldexp(double __x, int __e) _NOEXCEPT { in ldexp() function
70 inline _LIBCPP_HIDE_FROM_ABI long double ldexp(long double __x, int __e) _NOEXCEPT { in ldexp() function
75 inline _LIBCPP_HIDE_FROM_ABI double ldexp(_A1 __x, int __e) _NOEXCEPT { in ldexp() function
H A Dhypot.h62 const _Real __overflow_threshold = __math::ldexp(_Real(1), __exp); in __hypot()
63 const _Real __overflow_scale = __math::ldexp(_Real(1), -(__exp + 20)); in __hypot()
/freebsd/contrib/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()
/freebsd/contrib/llvm-project/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;
H A D__clang_cuda_cmath.h155 __DEVICE__ float ldexp(float __arg, int __exp) { in ldexp() function
327 ldexp(__T __x, int __exp) {
328 return std::ldexp((double)__x, __exp);
404 using ::ldexp;
H A D__clang_hip_cmath.h230 __DEF_FUN2_FI(float, ldexp)
581 ldexp(__T __x, int __exp) {
582 return ::ldexp((double)__x, __exp);
687 using ::ldexp;
/freebsd/lib/libc/i386/gen/
H A DMakefile.inc2 flt_rounds.c infinity.c ldexp.c makecontext.c \
/freebsd/lib/libc/powerpc/gen/
H A DMakefile.common3 SRCS += _ctx_start.S eabi.S infinity.c ldexp.c makecontext.c \
/freebsd/lib/libc/riscv/gen/
H A DMakefile.inc7 ldexp.c \
/freebsd/lib/libc/aarch64/gen/
H A DMakefile.inc10 ldexp.c \
/freebsd/lib/libc/amd64/gen/
H A DMakefile.inc3 infinity.c ldexp.c makecontext.c signalcontext.c \
/freebsd/lib/libc/powerpc64/gen/
H A DMakefile.inc3 infinity.c ldexp.c makecontext.c _setjmp.S \
/freebsd/lib/libc/arm/gen/
H A DMakefile.inc13 ldexp.c \
/freebsd/contrib/arm-optimized-routines/pl/math/
H A Dcbrt_2u.c65 return asdouble (asuint64 (ldexp (a * T (2 + e % 3), e / 3)) | sign); in cbrt()
H A Dexpm1_2u5.c74 double t = ldexp (0.5, i); in expm1()
/freebsd/tools/regression/include/tgmath/
H A Dtgmath.c125 double (ldexp)(double x, int e) { n_double++; }
528 PASS_REAL_FIXED_ARG_REAL_RET(ldexp, 1) && in main()
529 PASS_REAL_FIXED_ARG_REAL_RET(ldexp, ld) && in main()
530 PASS_REAL_FIXED_ARG_REAL_RET(ldexp, ldc)); in main()
/freebsd/contrib/libcbor/src/
H A DCMakeLists.txt15 check_function_exists(ldexp LDEXP_AVAILABLE)

123