/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/lang/ |
D | StrictMath.java | 1387 public static double copySign(double magnitude, double sign) { in copySign() argument 1388 return Math.copySign(magnitude, (Double.isNaN(sign)?1.0d:sign)); in copySign() 1403 public static float copySign(float magnitude, float sign) { in copySign() argument 1404 return Math.copySign(magnitude, (Float.isNaN(sign)?1.0f:sign)); in copySign()
|
D | Math.java | 1781 public static double copySign(double magnitude, double sign) { in copySign() argument 1784 (Double.doubleToRawLongBits(magnitude) & in copySign() 1804 public static float copySign(float magnitude, float sign) { in copySign() argument 1807 (Float.floatToRawIntBits(magnitude) & in copySign()
|
/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/luni/src/main/java/java/math/ |
D | BigInteger.java | 91 private byte[] magnitude; field in BigInteger 271 public BigInteger(int signum, byte @NonNull [] magnitude) { in BigInteger() argument 272 if (magnitude == null) { in BigInteger() 279 for (byte element : magnitude) { in BigInteger() 286 bigInt.putBigEndian(magnitude, signum < 0); in BigInteger() 1241 bigInt.putBigEndian(magnitude, signum < 0); in readObject() 1252 magnitude = bigInt.bigEndianMagnitude(); in writeObject()
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Math.annotated.java | 162 public static double copySign(double magnitude, double sign) { throw new RuntimeException("Stub!");… in copySign() argument 164 public static float copySign(float magnitude, float sign) { throw new RuntimeException("Stub!"); } in copySign() argument
|
/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 …]
|