Home
last modified time | relevance | path

Searched refs:scaleFactor (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/test/java/lang/Math/
DIeeeRecommendedTests.java994 for (int scaleFactor : manyScalingFactors) { in testFloatScalb()
995 if (Math.abs(scaleFactor) >= MAX_SCALE) { in testFloatScalb()
997 scaleFactor, in testFloatScalb()
998 Math.copySign((scaleFactor > 0 ? infinityF : 0.0f), someTestCase)); in testFloatScalb()
1006 for (int scaleFactor : oneMultiplyScalingFactors) { in testFloatScalb()
1008 scaleFactor, in testFloatScalb()
1009 someTestCase * powerOfTwoF(scaleFactor)); in testFloatScalb()
1023 for (int scaleFactor = Float.MAX_EXPONENT * 2; scaleFactor < MAX_SCALE; in testFloatScalb()
1024 scaleFactor++) {// MAX_SCALE -1 should cause overflow in testFloatScalb()
1027 scaleFactor, in testFloatScalb()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DMath.java3516 public static double scalb(double d, int scaleFactor) {
3547 if(scaleFactor < 0) {
3548 scaleFactor = Math.max(scaleFactor, -MAX_SCALE);
3553 scaleFactor = Math.min(scaleFactor, MAX_SCALE);
3560 int t = (scaleFactor >> 9-1) >>> 32 - 9;
3561 exp_adjust = ((scaleFactor + t) & (512 -1)) - t;
3564 scaleFactor -= exp_adjust;
3566 while(scaleFactor != 0) {
3568 scaleFactor -= scale_increment;
3603 public static float scalb(float f, int scaleFactor) {
[all …]
DStrictMath.java2632 public static double scalb(double d, int scaleFactor) { in scalb() argument
2633 return Math.scalb(d, scaleFactor); in scalb()
2663 public static float scalb(float f, int scaleFactor) { in scalb() argument
2664 return Math.scalb(f, scaleFactor); in scalb()
/libcore/ojluni/annotations/flagged_api/java/lang/
DStrictMath.annotated.java245 public static double scalb(double d, int scaleFactor) { throw new RuntimeException("Stub!"); } in scalb() argument
247 public static float scalb(float f, int scaleFactor) { throw new RuntimeException("Stub!"); } in scalb() argument
DMath.annotated.java246 public static double scalb(double d, int scaleFactor) { throw new RuntimeException("Stub!"); } in scalb() argument
248 public static float scalb(float f, int scaleFactor) { throw new RuntimeException("Stub!"); } in scalb() argument
/libcore/ojluni/src/main/java/java/math/
DBigInteger.java2581 long scaleFactor = (long)remainingBits * exponent; in pow() local
2585 if (partToSquare.mag.length == 1 && scaleFactor <= 62) { in pow()
2606 if (bitsToShift + scaleFactor <= 62) { // Fits in long? in pow()