Searched defs:abs (Results 1 - 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/
H A DMath.java635 // - a finite number with abs(a) < exp(2,FloatConsts.SIGNIFICAND_WIDTH-32) < 1/2
684 // - a finite number with abs(a) < exp(2,DoubleConsts.SIGNIFICAND_WIDTH-64) < 1/2
847 long ax = Math.abs(x);
848 long ay = Math.abs(y);
1062 * is in the range of {@code -abs(y) < r < +abs(y)}.
1092 * is needed it can be computed as {@code (floorMod(x, y) + abs(y)) % abs(y)}.
1111 * is in the range of {@code -abs(y) < r < +abs(
1145 public static int abs(int a) { method in class:Math
1162 public static long abs(long a) { method in class:Math
1181 public static float abs(float a) { method in class:Math
1200 public static double abs(double a) { method in class:Math
[all...]
H A DStrictMath.java432 a = Math.abs(a);
855 * is in the range of {@code -abs(y) < r < +abs(y)}.
881 * is in the range of {@code -abs(y) < r < +abs(y)}.
916 public static int abs(int a) { method in class:StrictMath
933 public static long abs(long a) { method in class:StrictMath
952 public static float abs(float a) { method in class:StrictMath
971 public static double abs(double a) { method in class:StrictMath
/libcore/luni/src/main/java/java/math/
H A DBigInteger.java389 public BigInteger abs() { method in class:BigInteger
H A DBigDecimal.java1088 compRem = longCompareTo(Math.abs(rem) * 2,Math.abs(divisor));
1095 compRem = remainder.abs().shiftLeftOneBit().compareTo(scaledDivisor.abs());
1117 compRem = longCompareTo(Math.abs(remainder) * 2,Math.abs(scaledDivisor));
1235 // If abs(q) != 1 then the quotient is periodic
1236 if (!q.abs().equals(BigInteger.ONE)) {
1456 compRemDiv = Math.abs(quotAndRem[1].signum());
1637 int m = Math.abs(
1680 public BigDecimal abs() { method in class:BigDecimal
1689 public BigDecimal abs(MathContext mc) { method in class:BigDecimal
[all...]

Completed in 171 milliseconds