/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/ |
b_exp.c | 46 * scalb(x,n) 113 return scalb(1.0+(hi-(lo-(x*c)/(2.0-c))),k); 120 if(finite(x)) return(scalb(1.0,-5000)); 129 return( finite(x) ? scalb(1.0,5000) : x); 159 return scalb(1.+(hi-(lo - c)), k); 165 if(finite(x)) return(scalb(1.0,-5000)); 174 return( finite(x) ? scalb(1.0,5000) : x);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
StrictMathTest.java | [all...] |
MathTest.java | [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
Float16Utils.java | 37 static double MIN_NORMAL = Math.scalb(1.0, -14); // smallest Float16 normal is 2 ^ -14 38 static double MIN_VALUE = Math.scalb(1.0, -24); // smallest Float16 value is 2 ^ -24 80 float mantissaAsFloat = Math.scalb(mantissa, -10); 91 result = Math.scalb(1, -14) * mantissaAsFloat; 95 result = Math.scalb(1, exponent - 15) * (1 + mantissaAsFloat); 279 return Math.scalb(1.0, (int) (unbiasedExponent - 10));
|
FloatyUnitTest.java | 405 if (absoluteValue < Math.scalb(1., -24)) { 409 if (absoluteValue < Math.scalb(1., -14)) { 411 assertEquals(Math.scalb(1., -24), ulp); 417 double limit = Math.scalb(1., exponent); 420 assertEquals(ulp, Math.scalb(1., exponent - 11)); 448 double valuesOutOfFloat16Range[] = {Math.scalb(1., -100),
|
/external/guava/guava-tests/test/com/google/common/math/ |
MathBenchmarking.java | 111 result = Math.scalb(result, RANDOM_SOURCE.nextInt(maxExponent + 1));
|
MathTesting.java | 223 for (double d : Doubles.asList(0, 1, 2, 7, 51, 102, Math.scalb(1.0, 53), Integer.MIN_VALUE,
|
DoubleMathTest.java | 373 double x = Math.scalb(Math.sqrt(2) + 0.001, exp); 374 double y = Math.scalb(Math.sqrt(2) - 0.001, exp); 392 assertEquals(x, Math.scalb(1.0, log2));
|
/libcore/ojluni/src/main/java/java/lang/ |
StrictMath.java | 1693 public static double scalb(double d, int scaleFactor) { method in class:StrictMath 1727 public static float scalb(float f, int scaleFactor) { method in class:StrictMath [all...] |
Math.java | 1962 public static double scalb(double d, int scaleFactor) { method in class:Math 1996 public static float scalb(float f, int scaleFactor) { method in class:Math [all...] |
Float.java | 289 String s = Double.toHexString(FpUtils.scalb((double)f, [all...] |
/libcore/ojluni/src/main/native/ |
fdlibm.h | 166 extern double scalb __P((double, int)); 168 extern double scalb __P((double, double));
|
/device/google/contexthub/lib/libm/ |
fdlibm.h | 143 extern double scalb __P((double, int)); 145 extern double scalb __P((double, double));
|
/libcore/benchmarks/src/benchmarks/regression/ |
StrictMathBenchmark.java | 311 StrictMath.scalb(d, 5); 317 StrictMath.scalb(f, 5);
|
MathBenchmark.java | 381 result = Math.scalb(d, 5); 389 result = Math.scalb(f, 5);
|
/libcore/ojluni/src/main/java/sun/misc/ |
FpUtils.java | 128 // Constants used in scalb 358 * <i>x</i>, <code>scalb(<i>x</i>, -ilogb(<i>x</i>))</code> is 428 * <i>x</i>, <code>scalb(<i>x</i>, -ilogb(<i>x</i>))</code> is 496 * The scalb operation should be reasonably fast; however, there 503 * subnormal execution, scalb would be fastest if written entirely 504 * with integer operations; in other words, scalb would need to 525 * more efficient to provide a double[] scalb(double[], int) 526 * version of scalb to avoid having to recompute the needed 542 * subnormal, precision may be lost; that is, when {@code scalb(x, 543 * n)} is subnormal, {@code scalb(scalb(x, n), -n)} ma 562 public static double scalb(double d, int scale_factor) { method in class:FpUtils 671 public static float scalb(float f, int scale_factor) { method in class:FpUtils [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/bits/ |
mathcalls.h | 364 __MATHCALL (scalb,, (_Mdouble_ __x, _Mdouble_ __n));
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
tgmath.h | 407 # define scalb(Val1, Val2) __TGMATH_BINARY_REAL_ONLY (Val1, Val2, scalb) macro
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/ |
mathcalls.h | 365 __MATHCALL (scalb,, (_Mdouble_ __x, _Mdouble_ __n));
|
math-finite.h | 281 /* scalb. */ 282 extern double __REDIRECT_NTH (scalb, (double, double), __scalb_finite);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
tgmath.h | 407 # define scalb(Val1, Val2) __TGMATH_BINARY_REAL_ONLY (Val1, Val2, scalb) macro
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/ |
mathcalls.h | 365 __MATHCALL (scalb,, (_Mdouble_ __x, _Mdouble_ __n));
|
math-finite.h | 281 /* scalb. */ 282 extern double __REDIRECT_NTH (scalb, (double, double), __scalb_finite);
|
/bionic/libm/include/ |
math.h | 219 double scalb(double, double);
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
math_private.h | 709 #define __ieee754_scalb scalb
|