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

/libcore/luni/src/main/java/java/lang/
H A DHexStringParser.java217 round();
226 round();
256 private void round() { method in class:HexStringParser
H A DMath.java349 * 754 rules. The result is {@code x-round(x/p)*p} where {@code round(x/p)}
656 * <li>{@code round(+0.0) = +0.0}</li>
657 * <li>{@code round(-0.0) = +0.0}</li>
658 * <li>{@code round((anything > Long.MAX_VALUE) = Long.MAX_VALUE}</li>
659 * <li>{@code round((anything < Long.MIN_VALUE) = Long.MIN_VALUE}</li>
660 * <li>{@code round(+infinity) = Long.MAX_VALUE}</li>
661 * <li>{@code round(-infinity) = Long.MIN_VALUE}</li>
662 * <li>{@code round(NaN) = +0.0}</li>
669 public static long round(doubl method in class:Math
696 public static int round(float f) { method in class:Math
[all...]
H A DStrictMath.java354 * 754 rules. The result is {@code x-round(x/p)*p} where {@code round(x/p)}
657 * <li>{@code round(+0.0) = +0.0}</li>
658 * <li>{@code round(-0.0) = +0.0}</li>
659 * <li>{@code round((anything > Long.MAX_VALUE) = Long.MAX_VALUE}</li>
660 * <li>{@code round((anything < Long.MIN_VALUE) = Long.MIN_VALUE}</li>
661 * <li>{@code round(+infinity) = Long.MAX_VALUE}</li>
662 * <li>{@code round(-infinity) = Long.MIN_VALUE}</li>
663 * <li>{@code round(NaN) = +0.0}</li>
670 public static long round(doubl method in class:StrictMath
693 public static int round(float f) { method in class:StrictMath
[all...]
/libcore/luni/src/main/java/java/math/
H A DBigDecimal.java59 * Rounding mode to round towards positive infinity. For positive values
68 * Rounding mode to round towards negative infinity. For positive values
835 return add(augend).round(mc);
845 return add(augend).round(mc);
849 return add(augend).round(mc);
864 return larger.round(mc);
938 return subtract(subtrahend).round(mc);
955 return leftOperand.round(mc);
959 return subtract(subtrahend).round(mc);
1019 * rounding mode to be used to round th
1888 public BigDecimal round(MathContext mc) { method in class:BigDecimal
[all...]

Completed in 208 milliseconds