/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StrictMathTest.java | 998 assertEquals(4.1422946304E7, StrictMath.scalb(1.2345, 25)); in test_scalb_DI() 999 assertEquals(3.679096698760986E-8, StrictMath.scalb(1.2345, -25)); in test_scalb_DI() 1000 assertEquals(1.2345, StrictMath.scalb(1.2345, 0)); in test_scalb_DI() 1001 assertEquals(7868514.304, StrictMath.scalb(0.2345, 25)); in test_scalb_DI() 1003 double normal = StrictMath.scalb(0.2345, -25); in test_scalb_DI() 1006 assertEquals(0.2345, StrictMath.scalb(normal, 25)); in test_scalb_DI() 1008 assertEquals(0.2345, StrictMath.scalb(0.2345, 0)); in test_scalb_DI() 1009 assertEquals(-4.1422946304E7, StrictMath.scalb(-1.2345, 25)); in test_scalb_DI() 1010 assertEquals(-6.98864459991455E-9, StrictMath.scalb(-0.2345, -25)); in test_scalb_DI() 1011 assertEquals(2.0, StrictMath.scalb(Double.MIN_NORMAL / 2, 1024)); in test_scalb_DI() [all …]
|
D | MathTest.java | 1434 assertEquals(4.1422946304E7, Math.scalb(1.2345, 25)); in test_scalb_DI() 1435 assertEquals(3.679096698760986E-8, Math.scalb(1.2345, -25)); in test_scalb_DI() 1436 assertEquals(1.2345, Math.scalb(1.2345, 0)); in test_scalb_DI() 1437 assertEquals(7868514.304, Math.scalb(0.2345, 25)); in test_scalb_DI() 1439 double normal = Math.scalb(0.2345, -25); in test_scalb_DI() 1442 assertEquals(0.2345, Math.scalb(normal, 25)); in test_scalb_DI() 1444 assertEquals(0.2345, Math.scalb(0.2345, 0)); in test_scalb_DI() 1445 assertEquals(-4.1422946304E7, Math.scalb(-1.2345, 25)); in test_scalb_DI() 1446 assertEquals(-6.98864459991455E-9, Math.scalb(-0.2345, -25)); in test_scalb_DI() 1447 assertEquals(2.0, Math.scalb(Double.MIN_NORMAL / 2, 1024)); in test_scalb_DI() [all …]
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | FpUtils.java | 533 public static double scalb(double d, int scale_factor) { in scalb() method in FpUtils 534 return Math.scalb(d, scale_factor); in scalb() 571 public static float scalb(float f, int scale_factor) { in scalb() method in FpUtils 572 return Math.scalb(f, scale_factor); in scalb()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StrictMath.java | 1782 public static double scalb(double d, int scaleFactor) { in scalb() method in StrictMath 1783 return Math.scalb(d, scaleFactor); in scalb() 1816 public static float scalb(float f, int scaleFactor) { in scalb() method in StrictMath 1817 return Math.scalb(f, scaleFactor); in scalb()
|
D | Float.java | 289 String s = Double.toHexString(Math.scalb((double)f, in toHexString()
|
D | Math.java | 2375 public static double scalb(double d, int scaleFactor) { in scalb() method in Math 2482 public static float scalb(float f, int scaleFactor) { in scalb() method in Math
|
/libcore/ojluni/src/main/native/ |
D | fdlibm.h | 166 extern double scalb __P((double, int)); 168 extern double scalb __P((double, double));
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | StrictMathBenchmark.java | 311 StrictMath.scalb(d, 5); in timeScalbD() 317 StrictMath.scalb(f, 5); in timeScalbF()
|
D | MathBenchmark.java | 381 result = Math.scalb(d, 5); in timeScalbD() 389 result = Math.scalb(f, 5); in timeScalbF()
|