/libcore/ojluni/src/main/java/sun/misc/ |
D | FpUtils.java | 170 public static double rawCopySign(double magnitude, double sign) { in rawCopySign() argument 171 return Math.copySign(magnitude, sign); in rawCopySign() 191 public static float rawCopySign(float magnitude, float sign) { in rawCopySign() argument 192 return Math.copySign(magnitude, sign); in rawCopySign() 806 public static double copySign(double magnitude, double sign) { in copySign() argument 807 return StrictMath.copySign(magnitude, sign); in copySign() 824 public static float copySign(float magnitude, float sign) { in copySign() argument 825 return StrictMath.copySign(magnitude, sign); in copySign()
|
D | FDBigInteger.java | 1487 byte[] magnitude = new byte[nWords * 4 + 1]; in toBigInteger() 1490 magnitude[magnitude.length - 4 * i - 1] = (byte) w; in toBigInteger() 1491 magnitude[magnitude.length - 4 * i - 2] = (byte) (w >> 8); in toBigInteger() 1492 magnitude[magnitude.length - 4 * i - 3] = (byte) (w >> 16); in toBigInteger() 1493 magnitude[magnitude.length - 4 * i - 4] = (byte) (w >> 24); in toBigInteger() 1495 return new BigInteger(magnitude).shiftLeft(offset * 32); in toBigInteger()
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | FpUtils.java | 47 public static double rawCopySign(double magnitude, double sign) { in rawCopySign() argument 52 public static float rawCopySign(float magnitude, float sign) { in rawCopySign() argument 139 public static double copySign(double magnitude, double sign) { in copySign() argument 144 public static float copySign(float magnitude, float sign) { in copySign() argument
|
/libcore/ojluni/src/main/java/java/text/ |
D | ChoiceFormat.java | 611 long magnitude = bits & ~SIGN; in nextDouble() local 615 if (magnitude != POSITIVEINFINITY) { in nextDouble() 616 magnitude += 1; in nextDouble() 621 magnitude -= 1; in nextDouble() 626 return Double.longBitsToDouble (magnitude | signbit); in nextDouble()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StrictMath.java | 1496 public static double copySign(double magnitude, double sign) { in copySign() argument 1497 return Math.copySign(magnitude, (Double.isNaN(sign)?1.0d:sign)); in copySign() 1512 public static float copySign(float magnitude, float sign) { in copySign() argument 1513 return Math.copySign(magnitude, (Float.isNaN(sign)?1.0f:sign)); in copySign()
|
D | Math.java | 1923 public static double copySign(double magnitude, double sign) { in copySign() argument 1926 (Double.doubleToRawLongBits(magnitude) & in copySign() 1946 public static float copySign(float magnitude, float sign) { in copySign() argument 1949 (Float.floatToRawIntBits(magnitude) & in copySign()
|
/libcore/ojluni/src/main/java/java/math/ |
D | BigInteger.java | 358 public BigInteger(int signum, byte[] magnitude) { in BigInteger() argument 359 this.mag = stripLeadingZeroBytes(magnitude); in BigInteger() 382 private BigInteger(int signum, int[] magnitude) { in BigInteger() argument 383 this.mag = stripLeadingZeroInts(magnitude); in BigInteger() 467 int[] magnitude = new int[numWords]; in BigInteger() local 474 magnitude[numWords - 1] = Integer.parseInt(group, radix); in BigInteger() 475 if (magnitude[numWords - 1] < 0) in BigInteger() 486 destructiveMulAdd(magnitude, superRadix, groupVal); in BigInteger() 489 mag = trustedStripLeadingZeroInts(magnitude); in BigInteger() 525 int[] magnitude = new int[numWords]; in BigInteger() local [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StrictMathTest.java | 185 final double magnitude = COPYSIGN_DD_CASES[i]; in test_copySign_DD() local 187 .abs(magnitude)); in test_copySign_DD() 189 .abs(magnitude)); in test_copySign_DD() 194 .copySign(magnitude, Double.NaN))); in test_copySign_DD() 196 .copySign(Double.NaN, magnitude))); in test_copySign_DD() 201 .copySign(magnitude, sign)); in test_copySign_DD() 250 final float magnitude = COPYSIGN_FF_CASES[i]; in test_copySign_FF() local 252 .abs(magnitude)); in test_copySign_FF() 254 .abs(magnitude)); in test_copySign_FF() 259 magnitude, Float.NaN))); in test_copySign_FF() [all …]
|
D | MathTest.java | 169 final double magnitude = COPYSIGN_DD_CASES[i]; in test_copySign_DD() local 171 .abs(magnitude)); in test_copySign_DD() 173 .abs(magnitude)); in test_copySign_DD() 178 magnitude, Double.NaN))); in test_copySign_DD() 180 Double.NaN, magnitude))); in test_copySign_DD() 185 magnitude, sign)); in test_copySign_DD() 241 final float magnitude = COPYSIGN_FF_CASES[i]; in test_copySign_FF() local 243 .abs(magnitude)); in test_copySign_FF() 245 .abs(magnitude)); in test_copySign_FF() 250 magnitude, Float.NaN))); in test_copySign_FF() [all …]
|