/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/decimaltestdata/ |
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 -> [all...] |
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. [all...] |
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. [all...] |
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 -> 12 [all...] |
randomBound32.decTest | 34 divx3001 divide 4953734675913.065314738743322579 0218.932010396534371704930714860E+797 -> 2.262681764507965005284080800438E-787 Inexact Rounded 42 divx3002 divide 9641.684323386955881595490347910E-844 -78864532047.12287484430980636798E+934 -> -1.222562801441069667849402782716E-1785 Inexact Rounded 50 divx3003 divide -1.028048571628326871054964307774E+529 49200008645699.35577937582714739 -> -2.089529249946971482861843692465E+515 Inexact Rounded 58 divx3004 divide 479084.8561808930525417735205519 084157571054.2691784660983989931 -> 0.000005692712493709617905493710207969 Inexact Rounded 66 divx3005 divide -0363750788.573782205664349562931 -3172.080934464133691909905980096 -> 114672.6064337420167096295290890 Inexact Rounded 74 divx3006 divide 1381026551423669919010191878449 -82.66614775445371254999357800739 -> -16706071214613552377376639557.90 Inexact Rounded 82 divx3007 divide 4627.026960423072127953556635585 -4410583132901.830017479741231131 -> -1.049073743992404570569003129346E-9 Inexact Rounded 90 divx3008 divide 75353574493.84484153484918212042 -8684111695095849922263044191221 -> -8.677177026223536475531592432118E-21 Inexact Rounded 98 divx3009 divide 6907058.216435355874729592373011 2.857005446917670515662398741545 -> 2417586.646146283856436864121104 Inexact Rounded 106 divx3010 divide -38949530427253.24030680468677190 712168021.1265384466442576619064E-992 -> -5.46914903110099970048 (…) [all...] |
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 Rounde [all...] |
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 Rounde [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/decimaltestdata/ |
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 -> [all...] |
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. [all...] |
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. [all...] |
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 -> 12 [all...] |
randomBound32.decTest | 34 divx3001 divide 4953734675913.065314738743322579 0218.932010396534371704930714860E+797 -> 2.262681764507965005284080800438E-787 Inexact Rounded 42 divx3002 divide 9641.684323386955881595490347910E-844 -78864532047.12287484430980636798E+934 -> -1.222562801441069667849402782716E-1785 Inexact Rounded 50 divx3003 divide -1.028048571628326871054964307774E+529 49200008645699.35577937582714739 -> -2.089529249946971482861843692465E+515 Inexact Rounded 58 divx3004 divide 479084.8561808930525417735205519 084157571054.2691784660983989931 -> 0.000005692712493709617905493710207969 Inexact Rounded 66 divx3005 divide -0363750788.573782205664349562931 -3172.080934464133691909905980096 -> 114672.6064337420167096295290890 Inexact Rounded 74 divx3006 divide 1381026551423669919010191878449 -82.66614775445371254999357800739 -> -16706071214613552377376639557.90 Inexact Rounded 82 divx3007 divide 4627.026960423072127953556635585 -4410583132901.830017479741231131 -> -1.049073743992404570569003129346E-9 Inexact Rounded 90 divx3008 divide 75353574493.84484153484918212042 -8684111695095849922263044191221 -> -8.677177026223536475531592432118E-21 Inexact Rounded 98 divx3009 divide 6907058.216435355874729592373011 2.857005446917670515662398741545 -> 2417586.646146283856436864121104 Inexact Rounded 106 divx3010 divide -38949530427253.24030680468677190 712168021.1265384466442576619064E-992 -> -5.46914903110099970048 (…) [all...] |
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 Rounde [all...] |
/external/llvm/test/CodeGen/X86/ |
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/compiler-rt/lib/ubsan/lit_tests/Integer/ |
div-zero.cpp | 1 // RUN: %clang -fsanitize=integer-divide-by-zero -DDIVIDEND=0 %s -o %t && %t 2>&1 | FileCheck %s 2 // RUN: %clang -fsanitize=integer-divide-by-zero -DDIVIDEND=1U %s -o %t && %t 2>&1 | FileCheck %s 3 // RUN: %clang -fsanitize=float-divide-by-zero -DDIVIDEND=1.5 %s -o %t && %t 2>&1 | FileCheck %s 4 // RUN: %clang -fsanitize=integer-divide-by-zero -DDIVIDEND='intmax(123)' %s -o %t && %t 2>&1 | FileCheck %s
|
/external/llvm/test/Transforms/ConstProp/ |
2002-05-03-DivideByZeroException.ll | 1 ; Make sure that the constant propogator doesn't divide by zero!
|
/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...] |
/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...] |
/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) {
|
/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
|
/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)
|
/external/proguard/src/proguard/evaluation/value/ |
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);
|