Searched refs:scalbn (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-current/lib/libc/gen/
H A Dldexp.c2 * ldexp() and scalbn() are defined to be identical, but ldexp() lives in libc
5 #define scalbn ldexp macro
7 #undef scalbn macro
/freebsd-current/lib/msun/i387/
H A Ds_scalbn.S37 ENTRY(scalbn)
43 END(scalbn)
/freebsd-current/lib/msun/src/
H A De_scalb.c16 * should use scalbn() instead.
31 return scalbn(x,fn);
39 if ( fn > 65000.0) return scalbn(x, 65000);
40 if (-fn > 65000.0) return scalbn(x,-65000);
41 return scalbn(x,(int)fn);
H A Ds_scalbn.c13 double scalbn(double x, int n) function
44 #if (LDBL_MANT_DIG == 53) && !defined(scalbn)
45 __weak_reference(scalbn, ldexpl);
46 __weak_reference(scalbn, scalbnl);
H A Ds_scalbln.c38 return (scalbn(x, (n > NMAX) ? NMAX : (n < NMIN) ? NMIN : (int)n));
H A Dk_rem_pio2.c38 * z = scalbn(z,-e0)
71 * double scalbn(), floor();
323 z = scalbn(z,q0); /* actual value of z */
356 if(carry!=0) z -= scalbn(one,q0);
382 z = scalbn(z,-q0);
392 fw = scalbn(one,q0);
H A Dmath.h323 double scalbn(double, int);
H A De_pow.c307 if((j>>20)<=0) z = scalbn(z,n); /* subnormal output */
/freebsd-current/lib/msun/amd64/
H A Ds_scalbn.S28 ENTRY(scalbn)
38 END(scalbn)
/freebsd-current/contrib/llvm-project/libcxx/include/__math/
H A Dexponential_functions.h129 // scalbn
131 inline _LIBCPP_HIDE_FROM_ABI float scalbn(float __x, int __y) _NOEXCEPT { return __builtin_scalbnf(__x, __y); }
134 _LIBCPP_HIDE_FROM_ABI double scalbn(double __x, int __y) _NOEXCEPT {
138 inline _LIBCPP_HIDE_FROM_ABI long double scalbn(long double __x, int __y) _NOEXCEPT {
143 inline _LIBCPP_HIDE_FROM_ABI double scalbn(_A1 __x, int __y) _NOEXCEPT {
/freebsd-current/contrib/netbsd-tests/lib/libm/
H A Dt_scalbn.c70 * scalbn(3)
75 atf_tc_set_md_var(tc, "descr", "Test scalbn() for a few values");
90 rv = scalbn(tests[i].inval, tests[i].exp);
100 /* scalbn is always exact except for underflow or overflow. */
112 atf_tc_set_md_var(tc, "descr", "Test scalbn(NaN, n) == NaN");
124 y = scalbn(x, exps[i]);
132 atf_tc_set_md_var(tc, "descr", "Test scalbn(-Inf, n) == -Inf");
141 ATF_CHECK(scalbn(x, exps[i]) == x);
147 atf_tc_set_md_var(tc, "descr", "Test scalbn(+Inf, n) == +Inf");
156 ATF_CHECK(scalbn(
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h161 __DEVICE__ double scalbn(double, int);
162 __DEVICE__ float scalbn(float, int);
263 using ::scalbn;
H A D__clang_cuda_cmath.h350 scalbn(__T __x, int __exp) { function
351 return std::scalbn((double)__x, __exp);
423 using ::scalbn;
H A D__clang_cuda_complex_builtins.h38 #define _SCALBNd std::scalbn
39 #define _SCALBNf std::scalbn
H A D__clang_hip_cmath.h247 __DEF_FUN2_FI(float, scalbn)
623 scalbn(__T __x, int __exp) { function
624 return ::scalbn((double)__x, __exp);
711 using ::scalbn;
H A D__clang_cuda_math.h277 __DEVICE__ double scalbn(double __a, int __b) { return __nv_scalbn(__a, __b); } function
284 return scalbn(__a, (int)__b);
H A Dtgmath.h1150 // scalbn
1158 __tg_scalbn(double __x, int __y) {return scalbn(__x, __y);}
1164 #undef scalbn macro
1165 #define scalbn(__x, __y) __tg_scalbn(__tg_promote1((__x))(__x), __y) macro
/freebsd-current/lib/msun/
H A DMakefile182 round.3 scalbn.3 signbit.3 sin.3 sincos.3 \
261 MLINKS+=scalbn.3 scalbln.3 scalbn.3 scalblnf.3 scalbn.3 scalblnl.3
262 MLINKS+=scalbn.3 scalbnf.3 scalbn.3 scalbnl.3
/freebsd-current/tools/regression/include/tgmath/
H A Dtgmath.c148 double (scalbn)(double x, int n) { n_double++; } function
583 PRINT("scalbn",
584 PASS_REAL_FIXED_ARG_REAL_RET(scalbn, 1) &&
585 PASS_REAL_FIXED_ARG_REAL_RET(scalbn, b) &&
586 PASS_REAL_FIXED_ARG_REAL_RET(scalbn, I));
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h516 friend IEEEFloat scalbn(IEEEFloat X, int Exp, roundingMode);
673 IEEEFloat scalbn(IEEEFloat X, int Exp, IEEEFloat::roundingMode);
767 friend DoubleAPFloat scalbn(const DoubleAPFloat &X, int Exp, roundingMode);
773 DoubleAPFloat scalbn(const DoubleAPFloat &Arg, int Exp, IEEEFloat::roundingMode RM);
1350 friend APFloat scalbn(APFloat X, int Exp, roundingMode RM);
1361 inline APFloat scalbn(APFloat X, int Exp, APFloat::roundingMode RM) { function in namespace:llvm
1363 return APFloat(scalbn(X.U.IEEE, Exp, RM), X.getSemantics());
1365 return APFloat(scalbn(X.U.Double, Exp, RM), X.getSemantics());
/freebsd-current/include/
H A Dtgmath.h198 #define scalbn(x, y) __tg_simplev(x, scalbn, x, y) macro
/freebsd-current/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcmath.inc114 using ::scalbn;
/freebsd-current/contrib/llvm-project/libcxx/include/
H A Dmath.h280 floating_point scalbn (arithmetic x, int ex);
492 using std::__math::scalbn;
/freebsd-current/contrib/arm-optimized-routines/math/test/
H A Dulp.h95 return RT(scalbn) (d, -p->ulpexp) + e;
H A Dulp.c548 #define lscalbn_f scalbn
559 #define scalbn_d scalbn

Completed in 304 milliseconds

12