/external/python/cpython3/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/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/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/swiftshader/third_party/llvm-7.0/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 THUMB armv8m.base 30 @ CHECK-ARMv6: error: instruction requires: divide in ARM 31 @ CHECK-THUMBv6: error: instruction requires: divide in THUMB armv8m.base 44 @ CHECK-ARMv6: error: instruction requires: divide in ARM 45 @ CHECK-THUMBv6: error: instruction requires: divide in THUMB armv8m.base 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 THUMB armv8m.base [all …]
|
D | invalid-idiv.s | 12 @ ARM-A15: note: instruction requires: divide in ARM 15 @ ARM-A15: note: instruction requires: divide in ARM 19 @ THUMB-A15: note: instruction requires: divide in THUMB 22 @ THUMB-A15: note: instruction requires: divide in THUMB 25 @ ARM: error: instruction requires: divide in ARM 27 @ ARM: error: instruction requires: divide in ARM 29 @ THUMB: error: instruction requires: divide in THUMB 31 @ THUMB: error: instruction requires: divide in THUMB
|
/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/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/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
D | clock.c | 278 uint32_t divide, rate, tgtclk; in mxs_set_ssp_busclock() local 287 for (divide = 2; divide < 254; divide += 2) { in mxs_set_ssp_busclock() 288 rate = sspclk / freq / divide; in mxs_set_ssp_busclock() 293 tgtclk = sspclk / divide / rate; in mxs_set_ssp_busclock() 296 tgtclk = sspclk / divide / rate; in mxs_set_ssp_busclock() 303 (divide << SSP_TIMING_CLOCK_DIVIDE_OFFSET) | in mxs_set_ssp_busclock()
|
/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()
|