/freebsd/lib/msun/tests/ |
H A D | invtrig_test.c | 64 (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 D | erand48.c | 20 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 D | ldexp.c | 5 #define scalbn ldexp
|
H A D | Makefile.inc | 256 ldexp.3 \ 446 MLINKS+=ldexp.3 ldexpf.3 \ 447 ldexp.3 ldexpl.3
|
/freebsd/contrib/netbsd-tests/lib/libm/ |
H A D | t_ldexp.c | 174 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 D | t_scalbn.c | 174 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 D | b_exp.c | 114 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 D | b_log.c | 374 g = ldexp(g, -j); in __log__D()
|
/freebsd/contrib/llvm-project/libcxx/include/__math/ |
H A D | exponential_functions.h | 63 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 D | hypot.h | 62 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 D | loaders.c | 59 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.h | 117 __DEVICE__ double ldexp(double, int); 118 __DEVICE__ float ldexp(float, int); 240 using ::ldexp;
|
H A D | __clang_cuda_cmath.h | 155 __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.h | 230 __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 D | Makefile.inc | 2 flt_rounds.c infinity.c ldexp.c makecontext.c \
|
/freebsd/lib/libc/powerpc/gen/ |
H A D | Makefile.common | 3 SRCS += _ctx_start.S eabi.S infinity.c ldexp.c makecontext.c \
|
/freebsd/lib/libc/riscv/gen/ |
H A D | Makefile.inc | 7 ldexp.c \
|
/freebsd/lib/libc/aarch64/gen/ |
H A D | Makefile.inc | 10 ldexp.c \
|
/freebsd/lib/libc/amd64/gen/ |
H A D | Makefile.inc | 3 infinity.c ldexp.c makecontext.c signalcontext.c \
|
/freebsd/lib/libc/powerpc64/gen/ |
H A D | Makefile.inc | 3 infinity.c ldexp.c makecontext.c _setjmp.S \
|
/freebsd/lib/libc/arm/gen/ |
H A D | Makefile.inc | 13 ldexp.c \
|
/freebsd/contrib/arm-optimized-routines/pl/math/ |
H A D | cbrt_2u.c | 65 return asdouble (asuint64 (ldexp (a * T (2 + e % 3), e / 3)) | sign); in cbrt()
|
H A D | expm1_2u5.c | 74 double t = ldexp (0.5, i); in expm1()
|
/freebsd/tools/regression/include/tgmath/ |
H A D | tgmath.c | 125 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 D | CMakeLists.txt | 15 check_function_exists(ldexp LDEXP_AVAILABLE)
|