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

/freebsd-11-stable/lib/msun/i387/
H A Ds_scalbn.S39 ENTRY(scalbn)
45 END(scalbn)
/freebsd-11-stable/lib/msun/src/
H A De_scalb.c20 * should use scalbn() instead.
35 return scalbn(x,fn);
43 if ( fn > 65000.0) return scalbn(x, 65000);
44 if (-fn > 65000.0) return scalbn(x,-65000);
45 return scalbn(x,(int)fn);
H A Ds_scalbn.c17 * scalbn (double x, int n)
18 * scalbn(x,n) returns x* 2**n computed by exponent
35 scalbn (double x, int n) function
64 __weak_reference(scalbn, ldexpl);
65 __weak_reference(scalbn, scalbnl);
H A Ds_scalbln.c39 return (scalbn(x, (n > NMAX) ? NMAX : (n < NMIN) ? NMIN : (int)n));
H A Dk_rem_pio2.c42 * z = scalbn(z,-e0)
75 * double scalbn(), floor();
327 z = scalbn(z,q0); /* actual value of z */
360 if(carry!=0) z -= scalbn(one,q0);
386 z = scalbn(z,-q0);
396 fw = scalbn(one,q0);
H A De_pow.c307 if((j>>20)<=0) z = scalbn(z,n); /* subnormal output */
H A Dmath.h319 double scalbn(double, int);
/freebsd-11-stable/lib/msun/amd64/
H A Ds_scalbn.S30 ENTRY(scalbn)
40 END(scalbn)
/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_complex_builtins.h127 __c = std::scalbn(__c, -__ilogbw);
128 __d = std::scalbn(__d, -__ilogbw);
132 __real__(z) = std::scalbn((__a * __c + __b * __d) / __denom, -__ilogbw);
133 __imag__(z) = std::scalbn((__b * __c - __a * __d) / __denom, -__ilogbw);
161 __c = std::scalbn(__c, -__ilogbw);
162 __d = std::scalbn(__d, -__ilogbw);
166 __real__(z) = std::scalbn((__a * __c + __b * __d) / __denom, -__ilogbw);
167 __imag__(z) = std::scalbn((__b * __c - __a * __d) / __denom, -__ilogbw);
H A D__clang_cuda_math_forward_declares.h187 __DEVICE__ double scalbn(double, int);
188 __DEVICE__ float scalbn(float, int);
286 using ::scalbn;
H A D__clang_cuda_cmath.h321 scalbn(__T __x, int __exp) { function
322 return std::scalbn((double)__x, __exp);
394 using ::scalbn;
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
H A D__clang_cuda_device_functions.h1720 __DEVICE__ double scalbn(double __a, int __b) { return __nv_scalbn(__a, __b); } function
1729 return scalbn(__a, (int)__b);
/freebsd-11-stable/contrib/netbsd-tests/lib/libm/
H A Dt_scalbn.c68 * scalbn(3)
73 atf_tc_set_md_var(tc, "descr", "Test scalbn() for a few values");
85 rv = scalbn(tests[i].inval, tests[i].exp);
98 atf_tc_set_md_var(tc, "descr", "Test scalbn(NaN, n) == NaN");
110 y = scalbn(x, exps[i]);
118 atf_tc_set_md_var(tc, "descr", "Test scalbn(-Inf, n) == -Inf");
127 ATF_CHECK(scalbn(x, exps[i]) == x);
133 atf_tc_set_md_var(tc, "descr", "Test scalbn(+Inf, n) == +Inf");
142 ATF_CHECK(scalbn(x, exps[i]) == x);
148 atf_tc_set_md_var(tc, "descr", "Test scalbn(
[all...]
/freebsd-11-stable/lib/msun/
H A DMakefile164 round.3 scalbn.3 signbit.3 sin.3 sincos.3 \
242 MLINKS+=scalbn.3 scalbln.3 scalbn.3 scalblnf.3 scalbn.3 scalblnl.3
243 MLINKS+=scalbn.3 scalbnf.3 scalbn.3 scalbnl.3
/freebsd-11-stable/contrib/libstdc++/include/tr1/
H A Dmath.h88 using std::tr1::scalbn;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dint_math.h97 #define crt_scalbn(x, y) scalbn((x), (y))
/freebsd-11-stable/tools/regression/include/tgmath/
H A Dtgmath.c150 double (scalbn)(double x, int n) { n_double++; } function
585 PRINT("scalbn",
586 PASS_REAL_FIXED_ARG_REAL_RET(scalbn, 1) &&
587 PASS_REAL_FIXED_ARG_REAL_RET(scalbn, b) &&
588 PASS_REAL_FIXED_ARG_REAL_RET(scalbn, I));
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h449 friend IEEEFloat scalbn(IEEEFloat X, int Exp, roundingMode);
584 IEEEFloat scalbn(IEEEFloat X, int Exp, IEEEFloat::roundingMode);
680 friend DoubleAPFloat scalbn(DoubleAPFloat X, int Exp, roundingMode);
1202 friend APFloat scalbn(APFloat X, int Exp, roundingMode RM);
1213 inline APFloat scalbn(APFloat X, int Exp, APFloat::roundingMode RM) { function in namespace:llvm
1215 return APFloat(scalbn(X.U.IEEE, Exp, RM), X.getSemantics());
1217 return APFloat(scalbn(X.U.Double, Exp, RM), X.getSemantics());
/freebsd-11-stable/include/
H A Dtgmath.h198 #define scalbn(x, y) __tg_simplev(x, scalbn, x, y) macro
/freebsd-11-stable/contrib/llvm-project/libcxx/include/
H A Dmath.h280 floating_point scalbn (arithmetic x, int ex);
1530 // scalbn
1532 inline _LIBCPP_INLINE_VISIBILITY float scalbn(float __lcpp_x, int __lcpp_y) _NOEXCEPT {return ::scalbnf(__lcpp_x, __lcpp_y);}
1533 inline _LIBCPP_INLINE_VISIBILITY long double scalbn(long double __lcpp_x, int __lcpp_y) _NOEXCEPT {return ::scalbnl(__lcpp_x, __lcpp_y);}
1538 scalbn(_A1 __lcpp_x, int __lcpp_y) _NOEXCEPT {return ::scalbn((double)__lcpp_x, __lcpp_y);}
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp1807 IEEEFloat V = scalbn(rhs, ilogb(*this) - ilogb(rhs), rmNearestTiesToEven);
1809 V = scalbn(V, -1, rmNearestTiesToEven);
3884 IEEEFloat scalbn(IEEEFloat X, int Exp, IEEEFloat::roundingMode RoundingMode) {
3921 return scalbn(Val, -Exp, RM);
4472 DoubleAPFloat scalbn(DoubleAPFloat Arg, int Exp, APFloat::roundingMode RM) {
4474 return DoubleAPFloat(semPPCDoubleDouble, scalbn(Arg.Floats[0], Exp, RM),
4475 scalbn(Arg.Floats[1], Exp, RM));
4484 Second = scalbn(Second, -Exp, RM);
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp13286 C = scalbn(C, -DenomLogB, APFloat::rmNearestTiesToEven);
13287 D = scalbn(D, -DenomLogB, APFloat::rmNearestTiesToEven);
13290 ResR = scalbn((A * C + B * D) / Denom, -DenomLogB,
13292 ResI = scalbn((B * C - A * D) / Denom, -DenomLogB,
/freebsd-11-stable/contrib/libstdc++/
H A Dconfigure31065 scalbn(0.0, 0);
[all...]

Completed in 219 milliseconds