/libcore/luni/src/main/java/java/math/ |
RoundingMode.java | 48 CEILING(BigDecimal.ROUND_CEILING), 103 return CEILING;
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
NanoTimeGranularityTester.java | 19 import static java.math.RoundingMode.CEILING; 56 return ShortDuration.of(LongMath.divide(total, TRIALS * 8, CEILING), NANOSECONDS);
|
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/ |
BigIntegerMath.java | 24 import static java.math.RoundingMode.CEILING; 78 case CEILING: 142 int approxSize = IntMath.divide(n * IntMath.log2(n, CEILING), Long.SIZE, CEILING); 233 int bits = LongMath.log2(n, RoundingMode.CEILING);
|
IntMath.java | 95 case CEILING: 188 case CEILING:
|
LongMath.java | 91 case CEILING: 229 int nBits = LongMath.log2(n, RoundingMode.CEILING); 236 // This is an upper bound on log2(numerator, ceiling).
|
/external/guava/guava-tests/benchmark/com/google/common/math/ |
BigIntegerMathBenchmark.java | 22 import static java.math.RoundingMode.CEILING; 72 if (IntMath.log2(n2, CEILING) * (n2 - n1) < Long.SIZE - 1) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
RoundingModeTest.java | 29 assertEquals("valueOf failed for ROUND_CEILING", RoundingMode.valueOf(BigDecimal.ROUND_CEILING), RoundingMode.CEILING);
|
BigDecimalConstructorsTest.java | 102 RoundingMode rm = RoundingMode.CEILING; 119 RoundingMode rm = RoundingMode.CEILING; 176 RoundingMode rm = RoundingMode.CEILING; 200 RoundingMode rm = RoundingMode.CEILING; 217 RoundingMode rm = RoundingMode.CEILING; 292 RoundingMode rm = RoundingMode.CEILING; 355 RoundingMode rm = RoundingMode.CEILING; 382 RoundingMode rm = RoundingMode.CEILING; 676 RoundingMode rm = RoundingMode.CEILING;
|
BigDecimalCompareTest.java | 404 RoundingMode rm = RoundingMode.CEILING; 464 RoundingMode rm = RoundingMode.CEILING;
|
/libcore/luni/src/test/java/libcore/java/math/ |
OldBigDecimalCompareTest.java | 44 mc = new MathContext(34, RoundingMode.CEILING);
|
OldBigDecimalConstructorsTest.java | 38 RoundingMode rm = RoundingMode.CEILING; 46 // Now test more than just RoundingMode.CEILING: 64 mc = new MathContext(33, RoundingMode.CEILING); 119 RoundingMode rm = RoundingMode.CEILING; 127 // Now test more than just RoundingMode.CEILING: 151 mc = new MathContext(33, RoundingMode.CEILING); 211 mc = new MathContext(33, RoundingMode.CEILING); 282 RoundingMode rm = RoundingMode.CEILING; 297 // Now test more than just RoundingMode.CEILING: 320 mc = new MathContext(33, RoundingMode.CEILING); [all...] |
OldBigDecimalTest.java | 81 setScale2 = setScale1.setScale(17, RoundingMode.CEILING); 88 // testing rounding Mode RoundingMode.CEILING 90 setScale2 = setScale1.setScale(1, RoundingMode.CEILING); 92 "the number 1234.5908 after setting scale to 1/RoundingMode.CEILING is wrong", 95 setScale2 = setNeg.setScale(1, RoundingMode.CEILING); 97 "the number -1234.5908 after setting scale to 1/RoundingMode.CEILING is wrong",
|
/external/guava/guava/src/com/google/common/math/ |
BigIntegerMath.java | 24 import static java.math.RoundingMode.CEILING; 80 case CEILING: 179 case CEILING: 219 case CEILING: 325 int approxSize = IntMath.divide(n * IntMath.log2(n, CEILING), Long.SIZE, CEILING); 416 int bits = LongMath.log2(n, RoundingMode.CEILING);
|
IntMath.java | 98 case CEILING: 139 case CEILING: 240 case CEILING: 309 case CEILING:
|
LongMath.java | 96 case CEILING: 138 case CEILING: 310 case CEILING: 375 case CEILING: 674 int nBits = LongMath.log2(n, RoundingMode.CEILING); 681 // This is an upper bound on log2(numerator, ceiling).
|
DoubleMath.java | 73 case CEILING: 249 case CEILING:
|
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/ |
BigIntegerMathTest.java | 24 import static java.math.RoundingMode.CEILING; 87 for (RoundingMode mode : asList(CEILING, UP)) {
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
NumberFormatJDK.java | 153 if (jdkMode.equals(RoundingMode.CEILING)) { 256 mode = RoundingMode.CEILING;
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
NumberFormatICU.java | 114 mode = RoundingMode.CEILING; 209 if (roundingMode.equals(RoundingMode.CEILING)) {
|
DecimalFormatICU.java | 203 mode = RoundingMode.CEILING; 367 if (roundingMode.equals(RoundingMode.CEILING)) {
|
/external/guava/guava-tests/test/com/google/common/math/ |
BigIntegerMathTest.java | 27 import static java.math.RoundingMode.CEILING; 99 for (RoundingMode mode : asList(CEILING, UP)) { 188 for (RoundingMode mode : asList(CEILING, UP)) { 287 for (RoundingMode mode : asList(CEILING, UP)) {
|
MathTesting.java | 21 import static java.math.RoundingMode.CEILING; 52 FLOOR, CEILING, HALF_EVEN, HALF_UP, HALF_DOWN);
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/ |
Limit.java | 161 return message("maximum", bd, maximum, RoundingMode.CEILING);
|
/external/guava/guava/src/com/google/common/io/ |
BaseEncoding.java | 28 import static java.math.RoundingMode.CEILING; 488 validPadding[divide(i * 8, bitsPerChar, CEILING)] = true; 588 return alphabet.charsPerChunk * divide(bytes, alphabet.bytesPerChunk, CEILING);
|
/external/guava/guava-gwt/src-super/com/google/common/io/super/com/google/common/io/ |
BaseEncoding.java | 25 import static java.math.RoundingMode.CEILING; 431 validPadding[divide(i * 8, bitsPerChar, CEILING)] = true; 531 return alphabet.charsPerChunk * divide(bytes, alphabet.bytesPerChunk, CEILING);
|