/external/python/cpython2/Lib/test/decimaltestdata/ |
D | ddDivide.decTest | 30 dddiv001 divide 1 1 -> 1 31 dddiv002 divide 2 1 -> 2 32 dddiv003 divide 1 2 -> 0.5 33 dddiv004 divide 2 2 -> 1 34 dddiv005 divide 0 1 -> 0 35 dddiv006 divide 0 2 -> 0 36 dddiv007 divide 1 3 -> 0.3333333333333333 Inexact Rounded 37 dddiv008 divide 2 3 -> 0.6666666666666667 Inexact Rounded 38 dddiv009 divide 3 3 -> 1 40 dddiv010 divide 2.4 1 -> 2.4 [all …]
|
D | dqDivide.decTest | 30 dqdiv001 divide 1 1 -> 1 31 dqdiv002 divide 2 1 -> 2 32 dqdiv003 divide 1 2 -> 0.5 33 dqdiv004 divide 2 2 -> 1 34 dqdiv005 divide 0 1 -> 0 35 dqdiv006 divide 0 2 -> 0 36 dqdiv007 divide 1 3 -> 0.3333333333333333333333333333333333 Inexact Rounded 37 dqdiv008 divide 2 3 -> 0.6666666666666666666666666666666667 Inexact Rounded 38 dqdiv009 divide 3 3 -> 1 40 dqdiv010 divide 2.4 1 -> 2.4 [all …]
|
D | divide.decTest | 2 -- divide.decTest -- decimal division -- 29 divx001 divide 1 1 -> 1 30 divx002 divide 2 1 -> 2 31 divx003 divide 1 2 -> 0.5 32 divx004 divide 2 2 -> 1 33 divx005 divide 0 1 -> 0 34 divx006 divide 0 2 -> 0 35 divx007 divide 1 3 -> 0.333333333 Inexact Rounded 36 divx008 divide 2 3 -> 0.666666667 Inexact Rounded 37 divx009 divide 3 3 -> 1 [all …]
|
D | inexact.decTest | 123 -- divide 125 inx201 divide 1000 1000 -> 1 126 inx202 divide 1000 1 -> 1000 127 inx203 divide 1000 2 -> 500 128 inx204 divide 1000 3 -> 333.3 Inexact Rounded 129 inx205 divide 1000 4 -> 250 130 inx206 divide 1000 5 -> 200 131 inx207 divide 1000 6 -> 166.7 Inexact Rounded 132 inx208 divide 1000 7 -> 142.9 Inexact Rounded 133 inx209 divide 1000 8 -> 125 [all …]
|
D | rounding.decTest | 582 rdvx101 divide 12345 1 -> 12345 583 rdvx102 divide 12345 1.0001 -> 12343 Inexact Rounded 584 rdvx103 divide 12345 1.001 -> 12332 Inexact Rounded 585 rdvx104 divide 12345 1.01 -> 12222 Inexact Rounded 586 rdvx105 divide 12345 1.1 -> 11222 Inexact Rounded 587 rdvx106 divide 12355 4 -> 3088.7 Inexact Rounded 588 rdvx107 divide 12345 4 -> 3086.2 Inexact Rounded 589 rdvx108 divide 12355 4.0001 -> 3088.6 Inexact Rounded 590 rdvx109 divide 12345 4.0001 -> 3086.1 Inexact Rounded 591 rdvx110 divide 12345 4.9 -> 2519.3 Inexact Rounded [all …]
|
D | randoms.decTest | 32 xdiv001 divide 905.67402 -202896611.E-780472620 -> -4.46372177E+780472614 Inexact Rounded 40 xdiv002 divide 3915134.7 -597164907. -> -0.00655620358 Inexact Rounded 48 xdiv003 divide 309759261 62663.487 -> 4943.21775 Inexact Rounded 56 xdiv004 divide 3.93591888E-236595626 7242375.00 -> 5.43456930E-236595633 Inexact Rounded 64 xdiv005 divide 323902.714 -608669.607E-657060568 -> -5.32148657E+657060567 Inexact Rounded 72 xdiv006 divide 5.11970092 -8807.22036 -> -0.000581307236 Inexact Rounded 80 xdiv007 divide -7.99874516 4561.83758 -> -0.00175340420 Inexact Rounded 88 xdiv008 divide 297802878 -927206.324 -> -321.182967 Inexact Rounded 96 xdiv009 divide -766.651824 31300.3619 -> -0.0244933853 Inexact Rounded 104 xdiv010 divide -56746.8689E+934981942 471002521. -> -1.20481030E+934981938 Inexact Rounded [all …]
|
D | randomBound32.decTest | 34 divx3001 divide 4953734675913.065314738743322579 0218.932010396534371704930714860E+797 -> 2.2626817… 42 divx3002 divide 9641.684323386955881595490347910E-844 -78864532047.12287484430980636798E+934 -> -1.… 50 divx3003 divide -1.028048571628326871054964307774E+529 49200008645699.35577937582714739 -> -2.08952… 58 divx3004 divide 479084.8561808930525417735205519 084157571054.2691784660983989931 -> 0.000005692712… 66 divx3005 divide -0363750788.573782205664349562931 -3172.080934464133691909905980096 -> 114672.60643… 74 divx3006 divide 1381026551423669919010191878449 -82.66614775445371254999357800739 -> -1670607121461… 82 divx3007 divide 4627.026960423072127953556635585 -4410583132901.830017479741231131 -> -1.0490737439… 90 divx3008 divide 75353574493.84484153484918212042 -8684111695095849922263044191221 -> -8.67717702622… 98 divx3009 divide 6907058.216435355874729592373011 2.857005446917670515662398741545 -> 2417586.646146… 106 divx3010 divide -38949530427253.24030680468677190 712168021.1265384466442576619064E-992 -> -5.46914… [all …]
|
/external/llvm/test/MC/ARM/ |
D | directive-arch_extension-idiv.s | 27 @ 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 in ARM arm-mode [all …]
|
D | invalid-idiv.s | 12 @ 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/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
D | DfpMath.java | 141 result[0] = a[0].divide(b[0]); in splitDiv() 143 result[1] = result[1].divide(b[0].multiply(b[0]).add(b[0].multiply(b[1]))); in splitDiv() 199 result[0] = base[0].getOne().divide(result[0]); in splitPow() 250 result = base.getOne().divide(result); in pow() 299 fact = fact.divide(i); in expInternal() 337 x = x.divide(pow(a.newInstance(10000), lr)); /* This puts x in the range 0-10000 */ in log() 349 spx[0] = spx[0].divide(spy[0]); in log() 350 spx[1] = spx[1].divide(spy[0]); in log() 354 spx[0] = spx[0].divide(2); in log() 355 spx[1] = spx[1].divide(2); in log() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
D | BigFraction.java | 133 num = num.divide(gcd); in BigFraction() 134 den = den.divide(gcd); in BigFraction() 540 return new BigDecimal(numerator).divide(new BigDecimal(denominator)); in bigDecimalValue() 559 return new BigDecimal(numerator).divide(new BigDecimal(denominator), roundingMode); in bigDecimalValue() 578 return new BigDecimal(numerator).divide(new BigDecimal(denominator), scale, roundingMode); in bigDecimalValue() 612 public BigFraction divide(final BigInteger bg) { in divide() method in BigFraction 631 public BigFraction divide(final int i) { in divide() method in BigFraction 632 return divide(BigInteger.valueOf(i)); in divide() 647 public BigFraction divide(final long l) { in divide() method in BigFraction 648 return divide(BigInteger.valueOf(l)); in divide() [all …]
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | UnsignedLongsTest.java | 113 assertEquals(2, UnsignedLongs.divide(14, 5)); in testDivide() 114 assertEquals(0, UnsignedLongs.divide(0, 50)); in testDivide() 115 assertEquals(1, UnsignedLongs.divide(0xfffffffffffffffeL, 0xfffffffffffffffdL)); in testDivide() 116 assertEquals(0, UnsignedLongs.divide(0xfffffffffffffffdL, 0xfffffffffffffffeL)); in testDivide() 117 assertEquals(281479271743488L, UnsignedLongs.divide(0xfffffffffffffffeL, 65535)); in testDivide() 118 assertEquals(0x7fffffffffffffffL, UnsignedLongs.divide(0xfffffffffffffffeL, 2)); in testDivide() 119 assertEquals(3689348814741910322L, UnsignedLongs.divide(0xfffffffffffffffeL, 5)); in testDivide() 142 dividend - (divisor * UnsignedLongs.divide(dividend, divisor) in testDivideRemainderEuclideanProperty()
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | UnsignedLongsTest.java | 110 assertEquals(2, UnsignedLongs.divide(14, 5)); in testDivide() 111 assertEquals(0, UnsignedLongs.divide(0, 50)); in testDivide() 112 assertEquals(1, UnsignedLongs.divide(0xfffffffffffffffeL, 0xfffffffffffffffdL)); in testDivide() 113 assertEquals(0, UnsignedLongs.divide(0xfffffffffffffffdL, 0xfffffffffffffffeL)); in testDivide() 114 assertEquals(281479271743488L, UnsignedLongs.divide(0xfffffffffffffffeL, 65535)); in testDivide() 115 assertEquals(0x7fffffffffffffffL, UnsignedLongs.divide(0xfffffffffffffffeL, 2)); in testDivide() 116 assertEquals(3689348814741910322L, UnsignedLongs.divide(0xfffffffffffffffeL, 5)); in testDivide()
|
/external/autotest/client/common_lib/perf_expectations/ |
D | expectation_checker.py | 24 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/skia/experimental/ |
D | SkSetPoly3To3_A.cpp | 19 static SkScalar divide(SkDScalar numer, SkDScalar denom) { in divide() function 76 matrix->setScaleX(divide(M[0], det)); in SkSetPoly3To3_A() 77 matrix->setSkewX( divide(M[1], det)); in SkSetPoly3To3_A() 78 matrix->setSkewY (divide(M[2], det)); in SkSetPoly3To3_A() 79 matrix->setScaleY(divide(M[3], det)); in SkSetPoly3To3_A()
|
/external/proguard/src/proguard/evaluation/value/ |
D | DoubleValue.java | 96 public abstract DoubleValue divide(DoubleValue other); in divide() method in DoubleValue 179 public DoubleValue divide(SpecificDoubleValue other) in divide() method in DoubleValue 181 return divide((DoubleValue)other); in divide() 282 public DoubleValue divide(ParticularDoubleValue other) in divide() method in DoubleValue 284 return divide((SpecificDoubleValue)other); in divide()
|
D | FloatValue.java | 96 public abstract FloatValue divide(FloatValue other); in divide() method in FloatValue 179 public FloatValue divide(SpecificFloatValue other) in divide() method in FloatValue 181 return divide((FloatValue)other); in divide() 282 public FloatValue divide(ParticularFloatValue other) in divide() method in FloatValue 284 return divide((SpecificFloatValue)other); in divide()
|
D | LongValue.java | 112 public LongValue divide(LongValue other) in divide() method in LongValue 124 return other.divide(this); in divideOf() 269 public LongValue divide(SpecificLongValue other) in divide() method in LongValue 425 public LongValue divide(ParticularLongValue other) in divide() method in LongValue 427 return divide((SpecificLongValue)other); in divide()
|
/external/crcalc/tests/src/com/hp/creals/ |
D | SlowCRTest.java | 54 final static CR HALF_PI = CR.PI.divide(CR.valueOf(2)); 111 check(isApprInt(tmp.subtract(x).divide(CR.PI)) in checkTrig() 112 || isApprInt(tmp.add(x).divide(CR.PI)), in checkTrig() 120 check(isApprInt(tmp.subtract(x).divide(CR.PI)) in checkTrig() 121 || isApprInt(tmp.add(x).divide(CR.PI)), in checkTrig() 142 checkEq(x.ln().divide(CR.valueOf(2)), x.sqrt().ln(), in checkExpLn() 165 checkEq(ZERO.acos(), CR.PI.divide(TWO), "acos(0)"); in testSlowTrig() 169 checkEq(ONE.asin(), CR.PI.divide(TWO), "asin(1)"); in testSlowTrig() 170 checkEq(ONE.negate().asin(), CR.PI.divide(TWO).negate(), "asin(-1)"); in testSlowTrig()
|
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/ |
D | unreachable.ll | 33 define internal i32 @divide(i32 %num, i32 %den) { 46 ; CHECK-LABEL: divide 53 ; ARM32-LABEL: divide 59 ; MIPS32-LABEL: divide 65 ; MIPS32-O2-LABEL: divide
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_checks.inc | 28 UBSAN_CHECK(IntegerDivideByZero, "integer-divide-by-zero", 29 "integer-divide-by-zero") 30 UBSAN_CHECK(FloatDivideByZero, "float-divide-by-zero", "float-divide-by-zero")
|
/external/guava/guava/src/com/google/common/math/ |
D | BigIntegerMath.java | 152 approxPow = approxPow.divide(BigInteger.TEN); in log10() 274 BigInteger sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1); in sqrtFloor() 280 sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1); in sqrtFloor() 298 public static BigInteger divide(BigInteger p, BigInteger q, RoundingMode mode) { in divide() method in BigIntegerMath 301 return pDec.divide(qDec, 0, mode).toBigIntegerExact(); in divide() 325 int approxSize = IntMath.divide(n * IntMath.log2(n, CEILING), Long.SIZE, CEILING); in factorial() 431 .divide(BigInteger.valueOf(denominatorAccum)); in binomial() 444 .divide(BigInteger.valueOf(denominatorAccum)); in binomial()
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
D | legalizedag_vec.ll | 7 ; legalizing the divide in LegalizeDAG, we scalarize the vector divide and make 8 ; two 64 bit divide library calls which introduces i64 nodes that needs to be
|
/external/llvm/test/CodeGen/X86/ |
D | legalizedag_vec.ll | 7 ; legalizing the divide in LegalizeDAG, we scalarize the vector divide and make 8 ; two 64 bit divide library calls which introduces i64 nodes that needs to be
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/ |
D | DiagBigDecimalTest.java | 1145 …TestFmwk.assertTrue("div301", ((new android.icu.math.BigDecimal("1")).divide(new android.icu.math.… in diagdivide() 1146 …TestFmwk.assertTrue("div302", ((new android.icu.math.BigDecimal("2")).divide(new android.icu.math.… in diagdivide() 1147 …TestFmwk.assertTrue("div303", ((new android.icu.math.BigDecimal("2.4")).divide(new android.icu.mat… in diagdivide() 1148 …TestFmwk.assertTrue("div304", ((new android.icu.math.BigDecimal("2.4")).divide(new android.icu.mat… in diagdivide() 1149 …TestFmwk.assertTrue("div305", ((new android.icu.math.BigDecimal("-2.4")).divide(new android.icu.ma… in diagdivide() 1150 …TestFmwk.assertTrue("div306", ((new android.icu.math.BigDecimal("-2.4")).divide(new android.icu.ma… in diagdivide() 1151 …TestFmwk.assertTrue("div307", ((new android.icu.math.BigDecimal("2.40")).divide(new android.icu.ma… in diagdivide() 1152 …TestFmwk.assertTrue("div308", ((new android.icu.math.BigDecimal("2.400")).divide(new android.icu.m… in diagdivide() 1153 …TestFmwk.assertTrue("div309", ((new android.icu.math.BigDecimal("2.4")).divide(new android.icu.mat… in diagdivide() 1154 …TestFmwk.assertTrue("div310", ((new android.icu.math.BigDecimal("2.400")).divide(new android.icu.m… in diagdivide() [all …]
|