Home
last modified time | relevance | path

Searched refs:CEILING (Results 1 – 25 of 46) sorted by relevance

12

/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
DBigIntegerMath.java24 import static java.math.RoundingMode.CEILING;
78 case CEILING: in log2()
142 int approxSize = IntMath.divide(n * IntMath.log2(n, CEILING), Long.SIZE, CEILING); in factorial()
233 int bits = LongMath.log2(n, RoundingMode.CEILING); in binomial()
DLongMath.java91 case CEILING: in log2()
229 int nBits = LongMath.log2(n, RoundingMode.CEILING); in binomial()
DIntMath.java95 case CEILING: in log2()
188 case CEILING: in divide()
/external/guava/guava/src/com/google/common/math/
DBigIntegerMath.java24 import static java.math.RoundingMode.CEILING;
80 case CEILING: in log2()
179 case CEILING: in log10()
219 case CEILING: in sqrt()
325 int approxSize = IntMath.divide(n * IntMath.log2(n, CEILING), Long.SIZE, CEILING); in factorial()
416 int bits = LongMath.log2(n, RoundingMode.CEILING); in binomial()
DLongMath.java96 case CEILING: in log2()
138 case CEILING: in log10()
310 case CEILING: in sqrt()
375 case CEILING: in divide()
674 int nBits = LongMath.log2(n, RoundingMode.CEILING);
DIntMath.java98 case CEILING: in log2()
139 case CEILING: in log10()
240 case CEILING: in sqrt()
309 case CEILING: in divide()
DDoubleMath.java73 case CEILING: in roundIntermediate()
249 case CEILING: in log2()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DNanoTimeGranularityTester.java19 import static java.math.RoundingMode.CEILING;
56 return ShortDuration.of(LongMath.divide(total, TRIALS * 8, CEILING), NANOSECONDS); in testNanoTimeGranularity()
/external/guava/guava-tests/benchmark/com/google/common/math/
DBigIntegerMathBenchmark.java22 import static java.math.RoundingMode.CEILING;
72 if (IntMath.log2(n2, CEILING) * (n2 - n1) < Long.SIZE - 1) { in oldSlowFactorial()
/external/guava/guava-tests/test/com/google/common/math/
DBigIntegerMathTest.java27 import static java.math.RoundingMode.CEILING;
99 for (RoundingMode mode : asList(CEILING, UP)) { in testLog2Ceiling()
188 for (RoundingMode mode : asList(CEILING, UP)) { in testLog10Ceiling()
287 for (RoundingMode mode : asList(CEILING, UP)) { in testSqrtCeiling()
DMathTesting.java21 import static java.math.RoundingMode.CEILING;
52 FLOOR, CEILING, HALF_EVEN, HALF_UP, HALF_DOWN);
DDoubleMathTest.java29 import static java.math.RoundingMode.CEILING;
329 int log2 = DoubleMath.log2(d, CEILING); in testRoundLog2Ceiling()
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/
DBigIntegerMathTest.java24 import static java.math.RoundingMode.CEILING;
87 for (RoundingMode mode : asList(CEILING, UP)) { in testLog2Ceiling()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java114 mode = RoundingMode.CEILING; in getRoundingMode()
209 if (roundingMode.equals(RoundingMode.CEILING)) { in setRoundingMode()
DDecimalFormatICU.java203 mode = RoundingMode.CEILING; in getRoundingMode()
367 if (roundingMode.equals(RoundingMode.CEILING)) { in setRoundingMode()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java153 if (jdkMode.equals(RoundingMode.CEILING)) { in getRoundingMode()
256 mode = RoundingMode.CEILING; in setRoundingMode()
/external/guava/guava-gwt/src-super/com/google/common/io/super/com/google/common/io/
DBaseEncoding.java25 import static java.math.RoundingMode.CEILING;
431 validPadding[divide(i * 8, bitsPerChar, CEILING)] = true; in Alphabet()
531 return alphabet.charsPerChunk * divide(bytes, alphabet.bytesPerChunk, CEILING); in maxEncodedSize()
/external/freetype/src/raster/
Dftraster.c446 #undef CEILING
451 #define CEILING( x ) ( ( (x) + ras.precision - 1 ) & -ras.precision ) macro
459 (Bool)( CEILING( x ) - x >= ras.precision_half )
1236 e = CEILING( y1 ); in Bezier_Up()
2249 e1 = TRUNC( CEILING( x1 ) ); in Vertical_Sweep_Span()
2338 e1 = CEILING( x1 ); in Vertical_Sweep_Drop()
2503 e1 = CEILING( x1 ); in Horizontal_Sweep_Span()
2559 e1 = CEILING( x1 ); in Horizontal_Sweep_Drop()
2795 e2 = CEILING( x2 ); in Draw_Sweep()
/external/guava/guava/src/com/google/common/io/
DBaseEncoding.java28 import static java.math.RoundingMode.CEILING;
488 validPadding[divide(i * 8, bitsPerChar, CEILING)] = true;
588 return alphabet.charsPerChunk * divide(bytes, alphabet.bytesPerChunk, CEILING);
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/
DLimit.java175 return message("maximum", bd, maximum, RoundingMode.CEILING); in check()
/external/guava/guava/src/com/google/common/hash/
DBloomFilterStrategies.java145 this(new long[Ints.checkedCast(LongMath.divide(bits, 64, RoundingMode.CEILING))]); in BitArray()
/external/guava/guava/src/com/google/common/util/concurrent/
DStriped.java446 return 1 << IntMath.log2(x, RoundingMode.CEILING);
/external/guava/guava-tests/test/com/google/common/hash/
DBloomFilterTest.java304 int arraySize = Ints.checkedCast(LongMath.divide(numBits, 64, RoundingMode.CEILING)); in testBitSize()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberSkeletonImpl.java242 return RoundingMode.CEILING; in roundingMode()
337 case CEILING: in roundingMode()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberSkeletonImpl.java241 return RoundingMode.CEILING; in roundingMode()
336 case CEILING: in roundingMode()

12