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

123456789

/external/apache-commons-math/src/main/java/org/apache/commons/math/
H A DFieldElement.java47 /** Compute this ÷ a.
49 * @return a new element representing this ÷ a
53 T divide(T a) throws ArithmeticException; method in interface:FieldElement
/external/llvm/test/MC/ARM/
H A Ddirective-arch_extension-mode-switch.s12 @ CHECK: instruction requires: divide in ARM
16 @ CHECK: instruction requires: divide in THUMB
H A Ddirective-arch_extension-idiv.s27 @ CHECK-ARMv6: error: instruction requires: divide in ARM
28 @ CHECK-THUMBv6: error: instruction requires: divide in ARM arm-mode
30 @ CHECK-ARMv6: error: instruction requires: divide in ARM
31 @ CHECK-THUMBv6: error: instruction requires: divide in ARM arm-mode
44 @ CHECK-ARMv6: error: instruction requires: divide in ARM
45 @ CHECK-THUMBv6: error: instruction requires: divide in ARM arm-mode
46 @ CHECK-ARMv7: error: instruction requires: divide in ARM
47 @ CHECK-THUMBv7: error: instruction requires: divide in THUMB
49 @ CHECK-ARMv6: error: instruction requires: divide in ARM
50 @ CHECK-THUMBv6: error: instruction requires: divide i
[all...]
H A Dinvalid-idiv.s12 @ ARM-A15: error: instruction requires: divide in ARM
14 @ ARM-A15: error: instruction requires: divide in ARM
21 @ ARM: error: instruction requires: divide in ARM
23 @ ARM: error: instruction requires: divide in ARM
25 @ THUMB: error: instruction requires: divide in THUMB
27 @ THUMB: error: instruction requires: divide in THUMB
/external/autotest/client/common_lib/perf_expectations/
H A Dexpectation_checker.py24 def divide(x, y): function
107 ratio = 1 - divide(trace_perf_value, improve)
110 ratio = divide(trace_perf_value, regress) - 1
115 ratio = divide(trace_perf_value, improve) - 1
118 ratio = 1 - divide(trace_perf_value, regress)
/external/proguard/src/proguard/evaluation/value/
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 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.java106 public DoubleValue divide(DoubleValue other) method in class:ParticularDoubleValue
113 return other.divide(this);
163 public DoubleValue divide(ParticularDoubleValue other) method in class:ParticularDoubleValue
H A DParticularFloatValue.java106 public FloatValue divide(FloatValue other) method in class:ParticularFloatValue
113 return other.divide(this);
163 public FloatValue divide(ParticularFloatValue other) method in class:ParticularFloatValue
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);
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
H A DDfpMath.java141 result[0] = a[0].divide(b[0]);
143 result[1] = result[1].divide(b[0].multiply(b[0]).add(b[0].multiply(b[1])));
199 result[0] = base[0].getOne().divide(result[0]);
250 result = base.getOne().divide(result);
299 fact = fact.divide(i);
337 x = x.divide(pow(a.newInstance(10000), lr)); /* This puts x in the range 0-10000 */
349 spx[0] = spx[0].divide(spy[0]);
350 spx[1] = spx[1].divide(spy[0]);
354 spx[0] = spx[0].divide(2);
355 spx[1] = spx[1].divide(
[all...]
/external/guava/guava-tests/test/com/google/common/primitives/
H A DUnsignedLongsTest.java113 assertEquals(2, UnsignedLongs.divide(14, 5));
114 assertEquals(0, UnsignedLongs.divide(0, 50));
115 assertEquals(1, UnsignedLongs.divide(0xfffffffffffffffeL, 0xfffffffffffffffdL));
116 assertEquals(0, UnsignedLongs.divide(0xfffffffffffffffdL, 0xfffffffffffffffeL));
117 assertEquals(281479271743488L, UnsignedLongs.divide(0xfffffffffffffffeL, 65535));
118 assertEquals(0x7fffffffffffffffL, UnsignedLongs.divide(0xfffffffffffffffeL, 2));
119 assertEquals(3689348814741910322L, UnsignedLongs.divide(0xfffffffffffffffeL, 5));
142 dividend - (divisor * UnsignedLongs.divide(dividend, divisor)
/external/skia/experimental/
H A DSkSetPoly3To3_A.cpp19 static SkScalar divide(SkDScalar numer, SkDScalar denom) { function
76 matrix->setScaleX(divide(M[0], det));
77 matrix->setSkewX( divide(M[1], det));
78 matrix->setSkewY (divide(M[2], det));
79 matrix->setScaleY(divide(M[3], det));
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
H A DUnsignedLongsTest.java110 assertEquals(2, UnsignedLongs.divide(14, 5));
111 assertEquals(0, UnsignedLongs.divide(0, 50));
112 assertEquals(1, UnsignedLongs.divide(0xfffffffffffffffeL, 0xfffffffffffffffdL));
113 assertEquals(0, UnsignedLongs.divide(0xfffffffffffffffdL, 0xfffffffffffffffeL));
114 assertEquals(281479271743488L, UnsignedLongs.divide(0xfffffffffffffffeL, 65535));
115 assertEquals(0x7fffffffffffffffL, UnsignedLongs.divide(0xfffffffffffffffeL, 2));
116 assertEquals(3689348814741910322L, UnsignedLongs.divide(0xfffffffffffffffeL, 5));
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
H A DBigFraction.java133 num = num.divide(gcd);
134 den = den.divide(gcd);
540 return new BigDecimal(numerator).divide(new BigDecimal(denominator));
559 return new BigDecimal(numerator).divide(new BigDecimal(denominator), roundingMode);
578 return new BigDecimal(numerator).divide(new BigDecimal(denominator), scale, roundingMode);
605 * the <code>BigInteger</code> to divide by, must not be
610 * if the fraction to divide by is zero.
612 public BigFraction divide(final BigInteger bg) { method in class:BigFraction
626 * the <tt>int</tt> to divide by.
629 * if the fraction to divide b
631 public BigFraction divide(final int i) { method in class:BigFraction
647 public BigFraction divide(final long l) { method in class:BigFraction
662 public BigFraction divide(final BigFraction fraction) { method in class:BigFraction
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DSimpleBigDecimal.java120 public SimpleBigDecimal divide(SimpleBigDecimal b) method in class:SimpleBigDecimal
124 return new SimpleBigDecimal(dividend.divide(b.bigInt), scale);
127 public SimpleBigDecimal divide(BigInteger b) method in class:SimpleBigDecimal
129 return new SimpleBigDecimal(bigInt.divide(b), scale);
/external/guava/guava-tests/benchmark/com/google/common/math/
H A DBigIntegerMathRoundingBenchmark.java81 @Benchmark int divide(int reps) { method in class:BigIntegerMathRoundingBenchmark
85 tmp += BigIntegerMath.divide(nonzero1[j], nonzero2[j], mode).intValue();
H A DIntMathRoundingBenchmark.java81 @Benchmark int divide(int reps) { method in class:IntMathRoundingBenchmark
85 tmp += IntMath.divide(ints[j], nonzero[j], mode);
H A DLongMathRoundingBenchmark.java81 @Benchmark int divide(int reps) { method in class:LongMathRoundingBenchmark
85 tmp += LongMath.divide(longs[j], nonzero[j], mode);
/external/crcalc/tests/src/com/hp/creals/
H A DSlowCRTest.java54 final static CR HALF_PI = CR.PI.divide(CR.valueOf(2));
111 check(isApprInt(tmp.subtract(x).divide(CR.PI))
112 || isApprInt(tmp.add(x).divide(CR.PI)),
120 check(isApprInt(tmp.subtract(x).divide(CR.PI))
121 || isApprInt(tmp.add(x).divide(CR.PI)),
142 checkEq(x.ln().divide(CR.valueOf(2)), x.sqrt().ln(),
165 checkEq(ZERO.acos(), CR.PI.divide(TWO), "acos(0)");
169 checkEq(ONE.asin(), CR.PI.divide(TWO), "asin(1)");
170 checkEq(ONE.negate().asin(), CR.PI.divide(TWO).negate(), "asin(-1)");
H A DCRTest.java91 check_eq(one.divide(four).shiftLeft(4), four, "divide failed 1");
92 check_eq(two.divide(one.negate()), two.negate(), "divide(neg) failed");
94 check_eq(one.divide(thirteen).multiply(thirteen), one,
95 "divide failed 2");
106 CR half_pi = CR.PI.divide(two);
107 CR half = one.divide(two);

Completed in 415 milliseconds

123456789