HomeSort by relevance Sort by last modified time
    Searched refs:scalb (Results 1 - 25 of 46) sorted by null

1 2

  /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...]
  /libcore/ojluni/src/main/java/sun/misc/
FpUtils.java 327 * <i>x</i>, <code>scalb(<i>x</i>, -ilogb(<i>x</i>))</code> is
397 * <i>x</i>, <code>scalb(<i>x</i>, -ilogb(<i>x</i>))</code> is
465 * The scalb operation should be reasonably fast; however, there
472 * subnormal execution, scalb would be fastest if written entirely
473 * with integer operations; in other words, scalb would need to
494 * more efficient to provide a double[] scalb(double[], int)
495 * version of scalb to avoid having to recompute the needed
511 * subnormal, precision may be lost; that is, when {@code scalb(x,
512 * n)} is subnormal, {@code scalb(scalb(x, n), -n)} ma
533 public static double scalb(double d, int scale_factor) { method in class:FpUtils
571 public static float scalb(float f, int scale_factor) { method in class:FpUtils
    [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 1673 public static double scalb(double d, int scaleFactor) { method in class:StrictMath
1707 public static float scalb(float f, int scaleFactor) { method in class:StrictMath
    [all...]
Float.java 289 String s = Double.toHexString(Math.scalb((double)f,
    [all...]
Math.java 2233 public static double scalb(double d, int scaleFactor) { method in class:Math
2340 public static float scalb(float f, int scaleFactor) { method in class:Math
    [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/firmware/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);
  /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);
  /frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/
WorkSpec.java 221 : (long) Math.scalb(backoffDelayDuration, runAttemptCount - 1);
  /bionic/libc/include/
math.h 365 double scalb(double __x, double __exponent);
  /bionic/libm/upstream-freebsd/lib/msun/src/
math_private.h 709 #define __ieee754_scalb scalb
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
OverviewProxyService.java 315 final long timeoutMs = (long) Math.scalb(BACKOFF_MILLIS, mConnectionBackoffAttempts);

Completed in 1036 milliseconds

1 2