Searched refs:divide (Results 1 - 25 of 98) sorted by relevance

1234

/external/guava/guava-tests/test/com/google/common/primitives/
H A DUnsignedLongsTest.java59 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)
/external/proguard/src/proguard/evaluation/value/
H A DDoubleValue.java96 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);
H A DFloatValue.java96 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);
H A DParticularDoubleValue.java100 public DoubleValue divide(DoubleValue other) method in class:ParticularDoubleValue
107 return other.divide(this);
154 public DoubleValue divide(ParticularDoubleValue other) method in class:ParticularDoubleValue
H A DParticularFloatValue.java100 public FloatValue divide(FloatValue other) method in class:ParticularFloatValue
107 return other.divide(this);
154 public FloatValue divide(ParticularFloatValue other) method in class:ParticularFloatValue
H A DSpecificDoubleValue.java80 public DoubleValue divide(DoubleValue other) method in class:SpecificDoubleValue
87 return other.divide(this);
134 public DoubleValue divide(SpecificDoubleValue other) method in class:SpecificDoubleValue
H A DSpecificFloatValue.java80 public FloatValue divide(FloatValue other) method in class:SpecificFloatValue
87 return other.divide(this);
134 public FloatValue divide(SpecificFloatValue other) method in class:SpecificFloatValue
H A DUnknownDoubleValue.java80 public DoubleValue divide(DoubleValue other) method in class:UnknownDoubleValue
H A DUnknownFloatValue.java80 public FloatValue divide(FloatValue other) method in class:UnknownFloatValue
H A DLongValue.java112 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);
H A DParticularLongValue.java100 public LongValue divide(LongValue other) method in class:ParticularLongValue
109 return other.divide(this);
188 public LongValue divide(ParticularLongValue other) method in class:ParticularLongValue
H A DSpecificLongValue.java80 public LongValue divide(LongValue other) method in class:SpecificLongValue
89 return other.divide(this);
172 public LongValue divide(SpecificLongValue other) method in class:SpecificLongValue
H A DUnknownLongValue.java81 public LongValue divide(LongValue other) method in class:UnknownLongValue
H A DIntegerValue.java111 public abstract IntegerValue divide(IntegerValue other) method in class:IntegerValue
297 public IntegerValue divide(UnknownIntegerValue other) method in class:IntegerValue
299 return divide((IntegerValue)other);
541 public IntegerValue divide(SpecificIntegerValue other) method in class:IntegerValue
543 return divide((IntegerValue)other);
785 public IntegerValue divide(ParticularIntegerValue other) method in class:IntegerValue
787 return divide((SpecificIntegerValue)other);
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
H A DBigIntegerDivideTest.java28 * Methods: divide, remainder, mod, and divideAndRemainder
42 aNumber.divide(bNumber);
57 aNumber.divide(bNumber);
74 BigInteger result = aNumber.divide(bNumber);
94 BigInteger result = aNumber.divide(bNumber);
115 BigInteger result = aNumber.divide(bNumber);
136 BigInteger result = aNumber.divide(bNumber);
156 BigInteger result = aNumber.divide(bNumber);
176 BigInteger result = aNumber.divide(bNumber);
196 BigInteger result = aNumber.divide(bNumbe
[all...]
H A DBigDecimalArithmeticTest.java29 * Methods: add, subtract, multiply, divide
486 aNumber.divide(bNumber);
504 aNumber.divide(bNumber, BigDecimal.ROUND_UNNECESSARY);
522 aNumber.divide(bNumber, 100);
541 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_CEILING);
558 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_CEILING);
575 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_CEILING);
592 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_CEILING);
609 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_UP);
626 BigDecimal result = aNumber.divide(bNumbe
[all...]
H A DBigIntegerHashCodeTest.java44 aNumber1.divide(aNumber2).bitLength();
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DSimpleBigDecimal.java126 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);
/external/guava/guava/src/com/google/common/math/
H A DBigIntegerMath.java244 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/
H A Deval-plural.h64 case divide:
H A Dplural-exp.h46 divide, /* Division. */ enumerator in enum:expression::operator
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
H A DDebugTreeGrammar.g367 | ^('/' a=expr b=expr) { $value = $a.value.divide($b.value); }
H A DProfileTreeGrammar.g367 | ^('/' a=expr b=expr) { $value = $a.value.divide($b.value); }
/external/guava/guava/src/com/google/common/primitives/
H A DUnsignedInteger.java137 public UnsignedInteger divide(UnsignedInteger val) { method in class:UnsignedInteger
139 return asUnsigned(UnsignedInts.divide(value, val.value));
H A DUnsignedLong.java134 public UnsignedLong divide(UnsignedLong val) { method in class:UnsignedLong
136 return asUnsigned(UnsignedLongs.divide(value, val.value));

Completed in 244 milliseconds

1234