HomeSort by relevance Sort by last modified time
    Searched refs:divide (Results 1 - 25 of 182) sorted by null

1 2 3 4 5 6 7 8

  /dalvik/tests/083-jit-regressions/src/
ZeroTests.java 31 private static void longTest(String name, boolean divide) throws Exception {
36 if (divide) {
50 if (divide) {
  /art/test/083-compiler-regressions/src/
ZeroTests.java 29 private static void longTest(String name, boolean divide) throws Exception {
31 if (divide) {
  /external/guava/guava-tests/test/com/google/common/primitives/
UnsignedLongsTest.java 59 assertEquals(2, UnsignedLongs.divide(14, 5));
60 assertEquals(0, UnsignedLongs.divide(0, 50));
61 assertEquals(1, UnsignedLongs.divide(0xfffffffffffffffeL, 0xfffffffffffffffdL));
62 assertEquals(0, UnsignedLongs.divide(0xfffffffffffffffdL, 0xfffffffffffffffeL));
63 assertEquals(281479271743488L, UnsignedLongs.divide(0xfffffffffffffffeL, 65535));
64 assertEquals(0x7fffffffffffffffL, UnsignedLongs.divide(0xfffffffffffffffeL, 2));
65 assertEquals(3689348814741910322L, UnsignedLongs.divide(0xfffffffffffffffeL, 5));
87 assertTrue(dividend - (divisor * UnsignedLongs.divide(dividend, divisor)
  /dalvik/vm/compiler/template/mips/
TEMPLATE_STRING_INDEXOF.S 95 sra v0, v0, 1 # divide by 2
100 sra v0, v0, 1 # divide by 2
105 sra v0, v0, 1 # divide by 2
110 sra v0, v0, 1 # divide by 2
  /external/proguard/src/proguard/evaluation/value/
DoubleValue.java 96 public abstract DoubleValue divide(DoubleValue other); method in class:DoubleValue
179 public DoubleValue divide(SpecificDoubleValue other) method in class:DoubleValue
181 return divide((DoubleValue)other);
282 public DoubleValue divide(ParticularDoubleValue other) method in class:DoubleValue
284 return divide((SpecificDoubleValue)other);
FloatValue.java 96 public abstract FloatValue divide(FloatValue other); method in class:FloatValue
179 public FloatValue divide(SpecificFloatValue other) method in class:FloatValue
181 return divide((FloatValue)other);
282 public FloatValue divide(ParticularFloatValue other) method in class:FloatValue
284 return divide((SpecificFloatValue)other);
ParticularDoubleValue.java 100 public DoubleValue divide(DoubleValue other) method in class:ParticularDoubleValue
107 return other.divide(this);
154 public DoubleValue divide(ParticularDoubleValue other) method in class:ParticularDoubleValue
ParticularFloatValue.java 100 public FloatValue divide(FloatValue other) method in class:ParticularFloatValue
107 return other.divide(this);
154 public FloatValue divide(ParticularFloatValue other) method in class:ParticularFloatValue
SpecificDoubleValue.java 80 public DoubleValue divide(DoubleValue other) method in class:SpecificDoubleValue
87 return other.divide(this);
134 public DoubleValue divide(SpecificDoubleValue other) method in class:SpecificDoubleValue
136 return new CompositeDoubleValue(this, CompositeDoubleValue.DIVIDE, other);
141 return new CompositeDoubleValue(other, CompositeDoubleValue.DIVIDE, this);
SpecificFloatValue.java 80 public FloatValue divide(FloatValue other) method in class:SpecificFloatValue
87 return other.divide(this);
134 public FloatValue divide(SpecificFloatValue other) method in class:SpecificFloatValue
136 return new CompositeFloatValue(this, CompositeFloatValue.DIVIDE, other);
141 return new CompositeFloatValue(other, CompositeFloatValue.DIVIDE, this);
UnknownDoubleValue.java 80 public DoubleValue divide(DoubleValue other) method in class:UnknownDoubleValue
UnknownFloatValue.java 80 public FloatValue divide(FloatValue other) method in class:UnknownFloatValue
LongValue.java 112 public LongValue divide(LongValue other) method in class:LongValue
124 return other.divide(this);
269 public LongValue divide(SpecificLongValue other) method in class:LongValue
425 public LongValue divide(ParticularLongValue other) method in class:LongValue
427 return divide((SpecificLongValue)other);
ParticularLongValue.java 100 public LongValue divide(LongValue other) method in class:ParticularLongValue
109 return other.divide(this);
188 public LongValue divide(ParticularLongValue other) method in class:ParticularLongValue
SpecificLongValue.java 80 public LongValue divide(LongValue other) method in class:SpecificLongValue
89 return other.divide(this);
172 public LongValue divide(SpecificLongValue other) method in class:SpecificLongValue
175 return new CompositeLongValue(this, CompositeLongValue.DIVIDE, other);
181 return new CompositeLongValue(other, CompositeLongValue.DIVIDE, this);
UnknownLongValue.java 81 public LongValue divide(LongValue other) method in class:UnknownLongValue
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
BigIntegerDivideTest.java 28 * Methods: divide, remainder, mod, and divideAndRemainder
32 * Divide by zero
42 aNumber.divide(bNumber);
49 * Divide by ZERO
57 aNumber.divide(bNumber);
64 * Divide two equal positive numbers
74 BigInteger result = aNumber.divide(bNumber);
84 * Divide two equal in absolute value numbers of different signs.
94 BigInteger result = aNumber.divide(bNumber);
104 * Divide two numbers of different length and different signs
    [all...]
BigDecimalArithmeticTest.java 29 * Methods: add, subtract, multiply, divide
478 * Divide by zero
486 aNumber.divide(bNumber);
494 * Divide with ROUND_UNNECESSARY
504 aNumber.divide(bNumber, BigDecimal.ROUND_UNNECESSARY);
512 * Divide with invalid rounding mode
522 aNumber.divide(bNumber, 100);
530 * Divide: local variable exponent is less than zero
541 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_CEILING);
547 * Divide: local variable exponent is equal to zer
    [all...]
  /libcore/luni/src/test/java/libcore/java/math/
OldBigDecimalArithmeticTest.java 197 a.round(mc).divide(b.round(mc)).toString());
198 res = a.divide(b, BigDecimal.ROUND_FLOOR);
203 res = a.divide(b, BigDecimal.ROUND_UNNECESSARY);
209 res = a.divide(b, BigDecimal.ROUND_UNNECESSARY);
223 res = a.divide(b, -1220, BigDecimal.ROUND_FLOOR);
228 res = a.divide(b, 1, BigDecimal.ROUND_UNNECESSARY);
234 res = a.divide(b, 0, BigDecimal.ROUND_UNNECESSARY);
252 a.round(mc).divide(b.round(mc)).toString());
253 res = a.divide(b, mc);
259 res = a.divide(b, mc)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
SimpleBigDecimal.java 126 public SimpleBigDecimal divide(SimpleBigDecimal b) method in class:SimpleBigDecimal
130 return new SimpleBigDecimal(dividend.divide(b.bigInt), scale);
133 public SimpleBigDecimal divide(BigInteger b) method in class:SimpleBigDecimal
135 return new SimpleBigDecimal(bigInt.divide(b), scale);
  /libcore/benchmarks/src/benchmarks/regression/
BigIntegerBenchmark.java 30 x.divide(y);
  /ndk/sources/host-tools/sed-4.2.1/testsuite/
factor.sed 70 :divide
  /external/guava/guava/src/com/google/common/math/
BigIntegerMath.java 244 BigInteger sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1);
250 sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1);
266 public static BigInteger divide(BigInteger p, BigInteger q, RoundingMode mode){ method in class:BigIntegerMath
269 return pDec.divide(qDec, 0, mode).toBigIntegerExact();
293 int approxSize = IntMath.divide(n * IntMath.log2(n, CEILING), Long.SIZE, CEILING);
381 result = result.divide(BigInteger.valueOf(i + 1));
  /external/e2fsprogs/intl/
eval-plural.h 64 case divide:
plural-exp.h 46 divide, /* Division. */ enumerator in enum:expression::operator

Completed in 291 milliseconds

1 2 3 4 5 6 7 8