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

123

/netbsd-current/lib/libm/src/
H A De_scalb.c21 * should use scalbn() instead.
37 return scalbn(x,fn);
45 if ( fn > 65000.0) return scalbn(x, 65000);
46 if (-fn > 65000.0) return scalbn(x,-65000);
47 return scalbn(x,(int)fn);
H A Ds_scalbn.c19 * scalbn (double x, int n)
20 * scalbn(x,n) returns x* 2**n computed by exponent
42 __weak_alias(scalbn, _scalbn)
55 scalbn(double x, int n) function
H A Dnamespace.h87 #define scalbn _scalbn macro
H A Dk_rem_pio2.c47 * z = scalbn(z,-e0)
80 * double scalbn(), floor();
340 z = scalbn(z,q0); /* actual value of z */
373 if(carry!=0) z -= scalbn(one,q0);
399 z = scalbn(z,-q0);
409 fw = scalbn(one,q0);
/netbsd-current/lib/libm/arch/mc68881/
H A Ds_scalbn.S43 WEAK_ALIAS(scalbn,_scalbn)
48 | scalbn(x, N)
/netbsd-current/lib/libm/arch/i387/
H A Ds_scalbn.S11 WEAK_ALIAS(scalbn,_scalbn)
/netbsd-current/lib/libm/arch/vax/
H A Dn_scalbn.S35 WEAK_ALIAS(scalbn,_scalbn)
/netbsd-current/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...]
/netbsd-current/external/apache2/llvm/dist/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.h192 __DEF_FUN2_FI(float, scalbn)
565 scalbn(__T __x, int __exp) { function
566 return ::scalbn((double)__x, __exp);
651 using ::scalbn;
/netbsd-current/external/gpl3/gcc.old/dist/gcc/ginclude/
H A Dtgmath.h114 #define scalbn(x,y) __TGMATH_REAL_2(x, y, scalbn) macro
/netbsd-current/external/gpl3/gcc/dist/gcc/ginclude/
H A Dtgmath.h114 #define scalbn(x,y) __TGMATH_REAL_2(x, y, scalbn) macro
/netbsd-current/sys/sys/
H A Dmidiio.h377 #define MIDIPITCH_TO_FRKEY(mp) (scalbn((mp),-14))
378 #define MIDIPITCH_FROM_FRKEY(frk) ((midipitch_t)round(scalbn((frk),14)))
379 #define MIDIHZ18_TO_FRHZ(h18) (scalbn((h18),-18))
380 #define MIDIHZ18_FROM_FRHZ(frh) ((midihz18_t)round(scalbn((frh),18)))
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/builtins/
H A Dint_math.h107 #define crt_scalbn(x, y) scalbn((x), (y))
/netbsd-current/tests/lib/lua/libm/
H A Dlualibm.lua82 print(string.format(fmtf, "scalbn(1.0, 2)", lm.scalbn(1.0, 2)))
H A Dh_lualibm.c79 printf("%-24s%+2.13f\n", "scalbn(1.0, 2)", scalbn(1.0, 2));
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DAPFloat.h454 friend IEEEFloat scalbn(IEEEFloat X, int Exp, roundingMode);
595 IEEEFloat scalbn(IEEEFloat X, int Exp, IEEEFloat::roundingMode);
690 friend DoubleAPFloat scalbn(const DoubleAPFloat &X, int Exp, roundingMode);
1253 friend APFloat scalbn(APFloat X, int Exp, roundingMode RM);
1264 inline APFloat scalbn(APFloat X, int Exp, APFloat::roundingMode RM) { function in namespace:llvm
1266 return APFloat(scalbn(X.U.IEEE, Exp, RM), X.getSemantics());
1268 return APFloat(scalbn(X.U.Double, Exp, RM), X.getSemantics());
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/stdc/
H A Dtgmath.d273 alias core.stdc.math.scalbn scalbn;
275 alias core.stdc.math.scalbnf scalbn;
277 alias core.stdc.math.scalbnl scalbn;
774 alias core.stdc.math.scalbn scalbn;
776 alias core.stdc.math.scalbnf scalbn;
778 alias core.stdc.math.scalbnl scalbn;
1264 alias core.stdc.math.scalbn scalbn;
[all...]
/netbsd-current/include/
H A Dtgmath.h183 #define scalbn(a,b) __TG_FN1x(scalbn, (a), (b)) macro
/netbsd-current/external/gpl3/gcc/dist/libquadmath/math/
H A Drem_pio2q.c42 * z = scalbn(z,-e0)
81 * double scalbn(), floor();
187 z = scalbn(z,q0); /* actual value of z */
220 if(carry!=0) z -= scalbn(one,q0);
246 z = scalbn(z,-q0);
256 fw = scalbn(one,q0);
/netbsd-current/external/gpl3/gcc.old/dist/libquadmath/math/
H A Drem_pio2q.c42 * z = scalbn(z,-e0)
81 * double scalbn(), floor();
187 z = scalbn(z,q0); /* actual value of z */
220 if(carry!=0) z -= scalbn(one,q0);
246 z = scalbn(z,-q0);
256 fw = scalbn(one,q0);
/netbsd-current/lib/lua/libm/
H A Dlibm.c200 lua_pushnumber(L, scalbn(x, i));
289 { "scalbn", libm_scalbn },
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/c_compatibility/
H A Dmath.h109 using std::scalbn;

Completed in 337 milliseconds

123