Home
last modified time | relevance | path

Searched refs:FLOOR (Results 1 – 25 of 39) sorted by relevance

12

/external/llvm/test/CodeGen/AMDGPU/
Dffloor.ll7 ; R600: FLOOR
30 ; R600: FLOOR
31 ; R600: FLOOR
32 ; R600: FLOOR
33 ; R600: FLOOR
Dfp_to_sint.f64.ll41 ; CI-DAG: v_floor_f64_e32 [[FLOOR:v\[[0-9]+:[0-9]+\]]], [[MUL]]
45 ; CI-DAG: v_fma_f64 [[FMA:v\[[0-9]+:[0-9]+\]]], [[FLOOR]], s{{\[[0-9]+}}:[[K1_HI]]{{\]}}, [[TRUNC]]
47 ; CI-DAG: v_cvt_i32_f64_e32 v[[HI:[0-9]+]], [[FLOOR]]
Dfp_to_uint.f64.ll41 ; CI-DAG: v_floor_f64_e32 [[FLOOR:v\[[0-9]+:[0-9]+\]]], [[MUL]]
45 ; CI-DAG: v_fma_f64 [[FMA:v\[[0-9]+:[0-9]+\]]], [[FLOOR]], s{{\[[0-9]+}}:[[K1_HI]]{{\]}}, [[TRUNC]]
47 ; CI-DAG: v_cvt_u32_f64_e32 v[[HI:[0-9]+]], [[FLOOR]]
Dfloor.ll3 ; CHECK: FLOOR * T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
/external/guava/guava/src/com/google/common/math/
DBigIntegerMath.java25 import static java.math.RoundingMode.FLOOR;
76 case FLOOR: in log2()
135 int approxLog10 = (int) (log2(x, FLOOR) * LN_2 / LN_10); in log10()
175 case FLOOR: in log10()
216 case FLOOR: in sqrt()
263 int log2 = log2(x, FLOOR); in sqrtFloor()
336 int productBits = LongMath.log2(product, FLOOR) + 1; in factorial()
337 int bits = LongMath.log2(startingNumber, FLOOR) + 1; in factorial()
361 productBits = LongMath.log2(product, FLOOR) + 1; in factorial()
DIntMath.java94 case FLOOR: in log2()
136 case FLOOR: in log10()
237 case FLOOR: in sqrt()
312 case FLOOR: in divide()
DLongMath.java92 case FLOOR: in log2()
135 case FLOOR: in log10()
304 case FLOOR: in sqrt()
378 case FLOOR: in divide()
DDoubleMath.java66 case FLOOR: in roundIntermediate()
246 case FLOOR: in log2()
/external/guava/guava-tests/test/com/google/common/math/
DBigIntegerMathTest.java29 import static java.math.RoundingMode.FLOOR;
57 BigInteger.ZERO.setBit(2 * BigIntegerMath.SQRT2_PRECOMPUTE_THRESHOLD + 1), FLOOR), in testConstantSqrt2PrecomputedBits()
89 for (RoundingMode mode : asList(FLOOR, DOWN)) { in testLog2Floor()
149 boolean floorWasEven = (BigIntegerMath.log2(x, FLOOR) & 1) == 0; in testLog2HalfEven()
177 for (RoundingMode mode : asList(FLOOR, DOWN)) { in testLog10Floor()
200 int logFloor = BigIntegerMath.log10(x, FLOOR); in testLog10Exact()
242 boolean floorWasEven = (BigIntegerMath.log10(x, FLOOR) & 1) == 0; in testLog10HalfEven()
275 for (RoundingMode mode : asList(FLOOR, DOWN)) { in testSqrtFloor()
300 BigInteger floor = BigIntegerMath.sqrt(x, FLOOR);
351 boolean floorWasOdd = BigIntegerMath.sqrt(x, FLOOR).testBit(0);
DIntMathTest.java28 import static java.math.RoundingMode.FLOOR;
51 BigIntegerMath.sqrt(BigInteger.ZERO.setBit(2 * Integer.SIZE - 1), FLOOR).intValue(), in testConstantMaxPowerOfSqrt2Unsigned()
66 BigIntegerMath.log10(BigInteger.ONE.shiftLeft(Integer.SIZE - i), FLOOR), in testMaxLog10ForLeadingZeros()
76 BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * i + 1), FLOOR).longValue()); in testConstantsHalfPowersOf10()
96 assertEquals(IntMath.sqrt(Integer.MAX_VALUE, FLOOR), IntMath.FLOOR_SQRT_MAX_INT); in testPowersSqrtMaxInt()
201 int floor = IntMath.log10(x, FLOOR); in testLog10Exact()
257 int floor = IntMath.sqrt(x, FLOOR); in testSqrtExactMatchesFloorOrThrows()
DLongMathTest.java30 import static java.math.RoundingMode.FLOOR;
52 assertEquals(BigIntegerMath.sqrt(BigInteger.ZERO.setBit(2 * Long.SIZE - 1), FLOOR).longValue(), in testConstantMaxPowerOfSqrt2Unsigned()
60 BigIntegerMath.log10(BigInteger.ONE.shiftLeft(Long.SIZE - i), FLOOR), in testMaxLog10ForLeadingZeros()
79 assertEquals(BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * i + 1), FLOOR), in testConstantsHalfPowersOf10()
83 BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * LongMath.halfPowersOf10.length + 1), FLOOR); in testConstantsHalfPowersOf10()
89 assertEquals(LongMath.sqrt(Long.MAX_VALUE, FLOOR), LongMath.FLOOR_SQRT_MAX_LONG); in testConstantsSqrtMaxLong()
254 int floor = LongMath.log10(x, FLOOR); in testLog10Exact()
301 long sqrtFloor = LongMath.sqrt(x, FLOOR); in testSqrtExactMatchesFloorOrThrows()
DDoubleMathTest.java31 import static java.math.RoundingMode.FLOOR;
320 int log2 = DoubleMath.log2(d, FLOOR); in testRoundLog2Floor()
389 boolean isPowerOfTwo = StrictMath.pow(2.0, DoubleMath.log2(x, FLOOR)) == x;
436 && StrictMath.pow(2.0, DoubleMath.log2(x, FLOOR)) == x;
DMathTesting.java23 import static java.math.RoundingMode.FLOOR;
52 FLOOR, CEILING, HALF_EVEN, HALF_UP, HALF_DOWN);
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
DBigIntegerMath.java25 import static java.math.RoundingMode.FLOOR;
74 case FLOOR: in log2()
153 int productBits = LongMath.log2(product, FLOOR) + 1; in factorial()
154 int bits = LongMath.log2(startingNumber, FLOOR) + 1; in factorial()
178 productBits = LongMath.log2(product, FLOOR) + 1; in factorial()
DIntMath.java91 case FLOOR: in log2()
191 case FLOOR: in divide()
DLongMath.java87 case FLOOR: in log2()
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/
DBigIntegerMathTest.java26 import static java.math.RoundingMode.FLOOR;
77 for (RoundingMode mode : asList(FLOOR, DOWN)) { in testLog2Floor()
137 boolean floorWasEven = (BigIntegerMath.log2(x, FLOOR) & 1) == 0; in testLog2HalfEven()
/external/libvpx/libvpx/vp8/decoder/
Derror_concealment.c21 #define FLOOR(x,q) ((x) & -(1 << (q))) macro
203 overlap_b_row = FLOOR(new_row / 4, 3) >> 3; in vp8_calculate_overlaps()
204 overlap_b_col = FLOOR(new_col / 4, 3) >> 3; in vp8_calculate_overlaps()
209 overlap_mb_row = FLOOR((overlap_b_row << 3) / 4, 3) >> 3; in vp8_calculate_overlaps()
210 overlap_mb_col = FLOOR((overlap_b_col << 3) / 4, 3) >> 3; in vp8_calculate_overlaps()
/external/pdfium/third_party/freetype/src/raster/
Dftraster.c444 #undef FLOOR
449 #define FLOOR( x ) ( (x) & -ras.precision ) macro
460 (Bool)( x - FLOOR( x ) >= ras.precision_half )
1204 e2 = FLOOR( y2 ); in Bezier_Up()
2214 e2 = TRUNC( FLOOR( x2 ) ); in Vertical_Sweep_Span()
2301 e2 = FLOOR ( x2 ); in Vertical_Sweep_Drop()
2320 pxl = FLOOR( ( x1 + x2 - 1 ) / 2 + ras.precision_half ); in Vertical_Sweep_Drop()
2369 pxl = FLOOR( ( x1 + x2 - 1 ) / 2 + ras.precision_half ); in Vertical_Sweep_Drop()
2466 e2 = FLOOR ( x2 ); in Horizontal_Sweep_Span()
2527 e2 = FLOOR ( x2 ); in Horizontal_Sweep_Drop()
[all …]
/external/freetype/src/raster/
Dftraster.c444 #undef FLOOR
449 #define FLOOR( x ) ( (x) & -ras.precision ) macro
458 (Bool)( x - FLOOR( x ) >= ras.precision_half )
1204 e2 = FLOOR( y2 ); in Bezier_Up()
2214 e2 = TRUNC( FLOOR( x2 ) ); in Vertical_Sweep_Span()
2301 e2 = FLOOR ( x2 ); in Vertical_Sweep_Drop()
2320 pxl = FLOOR( ( x1 + x2 - 1 ) / 2 + ras.precision_half ); in Vertical_Sweep_Drop()
2369 pxl = FLOOR( ( x1 + x2 - 1 ) / 2 + ras.precision_half ); in Vertical_Sweep_Drop()
2466 e2 = FLOOR ( x2 ); in Horizontal_Sweep_Span()
2527 e2 = FLOOR ( x2 ); in Horizontal_Sweep_Drop()
[all …]
/external/libvncserver/libvncserver/
Dscale.c67 #define FLOOR(x) ( (double) ((int) (x)) ) macro
113 x2 = FLOOR(x1); in rfbScaledCorrection()
114 y2 = FLOOR(y1); in rfbScaledCorrection()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java118 mode = RoundingMode.FLOOR; in getRoundingMode()
211 } else if (roundingMode.equals(RoundingMode.FLOOR)) { in setRoundingMode()
DDecimalFormatICU.java207 mode = RoundingMode.FLOOR; in getRoundingMode()
369 } else if (roundingMode.equals(RoundingMode.FLOOR)) { in setRoundingMode()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java155 } else if (jdkMode.equals(RoundingMode.FLOOR)) { in getRoundingMode()
260 mode = RoundingMode.FLOOR; in setRoundingMode()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/
DLimit.java158 return message("minimum", bd, minimum, RoundingMode.FLOOR); in check()

12