Home
last modified time | relevance | path

Searched refs:CEILING (Results 1 – 25 of 39) 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-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/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/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java112 mode = RoundingMode.CEILING; in getRoundingMode()
207 if (roundingMode.equals(RoundingMode.CEILING)) { in setRoundingMode()
DDecimalFormatICU.java201 mode = RoundingMode.CEILING; in getRoundingMode()
365 if (roundingMode.equals(RoundingMode.CEILING)) { in setRoundingMode()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java151 if (jdkMode.equals(RoundingMode.CEILING)) { in getRoundingMode()
254 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/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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/raster/
Dftraster.c445 #undef CEILING
450 #define CEILING( x ) ( ( (x) + ras.precision - 1 ) & -ras.precision ) macro
458 (Bool)( CEILING( x ) - x >= ras.precision_half )
1215 e = CEILING( y1 ); in Bezier_Up()
2208 e1 = TRUNC( CEILING( x1 ) ); in Vertical_Sweep_Span()
2300 e1 = CEILING( x1 ); in Vertical_Sweep_Drop()
2465 e1 = CEILING( x1 ); in Horizontal_Sweep_Span()
2526 e1 = CEILING( x1 ); in Horizontal_Sweep_Drop()
2770 e2 = CEILING( x2 ); in Draw_Sweep()
/external/pdfium/third_party/freetype/src/raster/
Dftraster.c445 #undef CEILING
450 #define CEILING( x ) ( ( (x) + ras.precision - 1 ) & -ras.precision ) macro
458 (Bool)( CEILING( x ) - x >= ras.precision_half )
1215 e = CEILING( y1 ); in Bezier_Up()
2208 e1 = TRUNC( CEILING( x1 ) ); in Vertical_Sweep_Span()
2300 e1 = CEILING( x1 ); in Vertical_Sweep_Drop()
2465 e1 = CEILING( x1 ); in Horizontal_Sweep_Span()
2526 e1 = CEILING( x1 ); in Horizontal_Sweep_Drop()
2770 e2 = CEILING( x2 ); in Draw_Sweep()
/external/freetype/src/raster/
Dftraster.c443 #undef CEILING
448 #define CEILING( x ) ( ( (x) + ras.precision - 1 ) & -ras.precision ) macro
456 (Bool)( CEILING( x ) - x >= ras.precision_half )
1219 e = CEILING( y1 ); in Bezier_Up()
2212 e1 = TRUNC( CEILING( x1 ) ); in Vertical_Sweep_Span()
2304 e1 = CEILING( x1 ); in Vertical_Sweep_Drop()
2469 e1 = CEILING( x1 ); in Horizontal_Sweep_Span()
2530 e1 = CEILING( x1 ); in Horizontal_Sweep_Drop()
2774 e2 = CEILING( x2 ); in Draw_Sweep()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/
DLimit.java161 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()

12