Home
last modified time | relevance | path

Searched refs:magnitude (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/math/
DBigInteger.java89 private byte[] magnitude; field in BigInteger
269 public BigInteger(int signum, byte[] magnitude) { in BigInteger() argument
270 if (magnitude == null) { in BigInteger()
277 for (byte element : magnitude) { in BigInteger()
284 bigInt.putBigEndian(magnitude, signum < 0); in BigInteger()
1239 bigInt.putBigEndian(magnitude, signum < 0); in readObject()
1250 magnitude = bigInt.bigEndianMagnitude(); in writeObject()
/libcore/luni/src/main/java/java/lang/
DStrictMath.java927 public static double copySign(double magnitude, double sign) { in copySign() argument
933 long magnitudeBits = Double.doubleToRawLongBits(magnitude); in copySign()
944 public static float copySign(float magnitude, float sign) { in copySign() argument
950 int magnitudeBits = Float.floatToRawIntBits(magnitude); in copySign()
DMath.java1008 public static double copySign(double magnitude, double sign) { in copySign() argument
1009 long magnitudeBits = Double.doubleToRawLongBits(magnitude); in copySign()
1021 public static float copySign(float magnitude, float sign) { in copySign() argument
1022 int magnitudeBits = Float.floatToRawIntBits(magnitude); in copySign()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStrictMathTest.java185 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 …]
DMathTest.java169 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 …]