/third_party/python/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 …]
|
/third_party/musl/libc-test/src/regression/ |
D | malloc-uaf-check.c | 38 char *divide[MALLOC_TIME]; in child() local 46 divide[j] = (char *)malloc(ALIGNED_SIZE - 1); in child() 47 if (!divide[j]) { in child() 68 free(divide[j]); in child() 69 divide[j][POINTER_USAGE] = (char)(UAF_VAL - j); in child()
|
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | TimeUtil.java | 340 public static Duration divide(Duration duration, double value) { in divide() method in TimeUtil 350 public static Duration divide(Duration duration, long times) { in divide() method in TimeUtil 351 return createDurationFromBigInteger(toBigInteger(duration).divide(toBigInteger(times))); in divide() 355 public static long divide(Duration d1, Duration d2) { in divide() method in TimeUtil 356 return toBigInteger(d1).divide(toBigInteger(d2)).longValue(); in divide() 378 long seconds = value.divide(new BigInteger(String.valueOf(NANOS_PER_SECOND))).longValue(); in createDurationFromBigInteger()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/ |
D | DiagBigDecimalTest.java | 1147 …TestFmwk.assertTrue("div301", ((new com.ibm.icu.math.BigDecimal("1")).divide(new com.ibm.icu.math.… in diagdivide() 1148 …TestFmwk.assertTrue("div302", ((new com.ibm.icu.math.BigDecimal("2")).divide(new com.ibm.icu.math.… in diagdivide() 1149 …TestFmwk.assertTrue("div303", ((new com.ibm.icu.math.BigDecimal("2.4")).divide(new com.ibm.icu.mat… in diagdivide() 1150 …TestFmwk.assertTrue("div304", ((new com.ibm.icu.math.BigDecimal("2.4")).divide(new com.ibm.icu.mat… in diagdivide() 1151 …TestFmwk.assertTrue("div305", ((new com.ibm.icu.math.BigDecimal("-2.4")).divide(new com.ibm.icu.ma… in diagdivide() 1152 …TestFmwk.assertTrue("div306", ((new com.ibm.icu.math.BigDecimal("-2.4")).divide(new com.ibm.icu.ma… in diagdivide() 1153 …TestFmwk.assertTrue("div307", ((new com.ibm.icu.math.BigDecimal("2.40")).divide(new com.ibm.icu.ma… in diagdivide() 1154 …TestFmwk.assertTrue("div308", ((new com.ibm.icu.math.BigDecimal("2.400")).divide(new com.ibm.icu.m… in diagdivide() 1155 …TestFmwk.assertTrue("div309", ((new com.ibm.icu.math.BigDecimal("2.4")).divide(new com.ibm.icu.mat… in diagdivide() 1156 …TestFmwk.assertTrue("div310", ((new com.ibm.icu.math.BigDecimal("2.400")).divide(new com.ibm.icu.m… in diagdivide() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bigdec/ |
D | DiagBigDecimalTest.java | 1150 …TestFmwk.assertTrue("div301", ((new ohos.global.icu.math.BigDecimal("1")).divide(new ohos.global.i… in diagdivide() 1151 …TestFmwk.assertTrue("div302", ((new ohos.global.icu.math.BigDecimal("2")).divide(new ohos.global.i… in diagdivide() 1152 …TestFmwk.assertTrue("div303", ((new ohos.global.icu.math.BigDecimal("2.4")).divide(new ohos.global… in diagdivide() 1153 …TestFmwk.assertTrue("div304", ((new ohos.global.icu.math.BigDecimal("2.4")).divide(new ohos.global… in diagdivide() 1154 …TestFmwk.assertTrue("div305", ((new ohos.global.icu.math.BigDecimal("-2.4")).divide(new ohos.globa… in diagdivide() 1155 …TestFmwk.assertTrue("div306", ((new ohos.global.icu.math.BigDecimal("-2.4")).divide(new ohos.globa… in diagdivide() 1156 …TestFmwk.assertTrue("div307", ((new ohos.global.icu.math.BigDecimal("2.40")).divide(new ohos.globa… in diagdivide() 1157 …TestFmwk.assertTrue("div308", ((new ohos.global.icu.math.BigDecimal("2.400")).divide(new ohos.glob… in diagdivide() 1158 …TestFmwk.assertTrue("div309", ((new ohos.global.icu.math.BigDecimal("2.4")).divide(new ohos.global… in diagdivide() 1159 …TestFmwk.assertTrue("div310", ((new ohos.global.icu.math.BigDecimal("2.400")).divide(new ohos.glob… in diagdivide() [all …]
|
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
D | TimeUtilTest.java | 448 duration = TimeUtil.divide(duration, 2.0); in testTimeOperations() 472 assertEquals(1, TimeUtil.divide(d1, d2)); in testTimeOperations() 473 assertEquals(0, TimeUtil.divide(d2, d1)); in testTimeOperations() 482 assertEquals(-2, TimeUtil.divide(d1, d2)); in testTimeOperations() 483 assertEquals(-2, TimeUtil.divide(d1, 2).getSeconds()); in testTimeOperations() 488 assertEquals(2, TimeUtil.divide(d1, d2)); in testTimeOperations() 489 assertEquals(2, TimeUtil.divide(d1, -2).getSeconds()); in testTimeOperations() 494 assertEquals(-2, TimeUtil.divide(d1, d2)); in testTimeOperations() 495 assertEquals(-2, TimeUtil.divide(d1, -2).getSeconds()); in testTimeOperations()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
D | UnitsConverter.java | 60 this.conversionRate = sourceToBase.divide(targetToBase).getConversionRate(); in UnitsConverter() 122 result = BigDecimal.ONE.divide(result, DECIMAL128); in convert() 136 result = BigDecimal.ONE.divide(result, DECIMAL128); in convertInverse() 138 result = result.subtract(offset).divide(this.conversionRate, DECIMAL128); in convertInverse() 220 return num.divide(den); in processFactor() 272 …resultCollector.multiply(new BigDecimal("411557987.0").divide(new BigDecimal("131002976.0"), DECIM… in getConversionRate() 283 return resultCollector.factorNum.divide(resultCollector.factorDen, DECIMAL128); in getConversionRate() 346 public Factor divide(Factor other) { in divide() method in UnitsConverter.Factor
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
D | RISCVSchedule.td | 14 def WriteIDiv : SchedWrite; // 32-bit or 64-bit divide and remainder 15 def WriteIDiv32 : SchedWrite; // 32-bit divide and remainder on RV64I 47 def WriteFDiv32 : SchedWrite; // 32-bit floating point divide 48 def WriteFDiv64 : SchedWrite; // 64-bit floating point divide 117 def ReadFDiv32 : SchedRead; // 32-bit floating point divide 118 def ReadFDiv64 : SchedRead; // 64-bit floating point divide
|
/third_party/python/Lib/test/ |
D | math_testcases.txt | 22 -- divide-by-zero : raised when a finite input gives a 174 lgam0000 lgamma 0.0 -> inf divide-by-zero 175 lgam0001 lgamma -0.0 -> inf divide-by-zero 181 lgam0010 lgamma -1 -> inf divide-by-zero 182 lgam0011 lgamma -2 -> inf divide-by-zero 183 lgam0012 lgamma -1e16 -> inf divide-by-zero 184 lgam0013 lgamma -1e300 -> inf divide-by-zero 185 lgam0014 lgamma -1.79e308 -> inf divide-by-zero 279 gam0000 gamma 0.0 -> inf divide-by-zero 280 gam0001 gamma -0.0 -> -inf divide-by-zero [all …]
|
/third_party/gptfdisk/ |
D | support.cc | 138 uint64_t response = def, bytesPerUnit, mult = 1, divide = 1; in IeeeToInt() local 178 divide = sSize / bytesPerUnit; in IeeeToInt() 187 } else if (divide > 1) { in IeeeToInt() 188 response /= divide; in IeeeToInt()
|
/third_party/typescript/tests/baselines/reference/ |
D | commentsCommentParsing.js | 142 function divide(a: number, b: number) { function 276 function divide(a, b) { 362 declare function divide(a: number, b: number): void;
|
D | commentsCommentParsing.symbols | 203 /** this is divide function 208 function divide(a: number, b: number) { 209 >divide : Symbol(divide, Decl(commentsCommentParsing.ts, 134, 1))
|
/third_party/cJSON/tests/ |
D | CMakeLists.txt | 20 …# Disable -fsanitize=float-divide-by-zero for Unity (GCC bug on x86 https://gcc.gnu.org/bugzilla/s… 23 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-sanitize=float-divide-by-zero") 25 target_compile_options(unity PRIVATE "-fno-sanitize=float-divide-by-zero")
|
/third_party/typescript/tests/arkTSTest/testcase/arkts-limited-throw/ |
D | arkts-limited-throw-6-ok.ets | 19 function divide(a: number, b: number): number { 26 divide(10, 0)
|
/third_party/decimal.js/ |
D | decimal.js | 379 r = divide(t3plusx.plus(x).times(t), t3plusx.plus(t3), sd + 2, 1); 469 return divide(this, new this.constructor(y)); 481 return finalise(divide(x, new Ctor(y), 0, 1, 1), Ctor.precision, Ctor.rounding); 702 return divide(x.sinh(), x.cosh(), Ctor.precision = pr, Ctor.rounding = rm); 875 x = divide(x.plus(1), new Ctor(1).minus(x), wpr + pr, 1); 1177 r = divide(num, denominator, sd, 1); 1199 r = divide(num, denominator, sd, 1); 1460 q = divide(x, y.abs(), 0, 3, 1); 1463 q = divide(x, y, 0, Ctor.modulo, 1); 1770 r = t.plus(divide(x, t, sd + 2, 1)).times(0.5); [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | UniversalTimeScale.java | 525 return universal.divide(units, BigDecimal.ROUND_HALF_UP).subtract(epochOffset); in toBigDecimal() 544 return universalTime.divide(units, BigDecimal.ROUND_HALF_UP).subtract(epochOffset); in toBigDecimal() 660 return universalTime.divide(units, BigDecimal.ROUND_DOWN).subtract(epochOffset); in toBigDecimalTrunc()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | UniversalTimeScale.java | 477 return universal.divide(units, BigDecimal.ROUND_HALF_UP).subtract(epochOffset); in toBigDecimal() 494 return universalTime.divide(units, BigDecimal.ROUND_HALF_UP).subtract(epochOffset); in toBigDecimal() 608 return universalTime.divide(units, BigDecimal.ROUND_DOWN).subtract(epochOffset); in toBigDecimalTrunc()
|
/third_party/glslang/Test/baseResults/ |
D | hlsl.w-recip.frag.out | 22 0:6 divide ( temp float) 65 0:5 divide ( temp float) 105 0:6 divide ( temp float) 148 0:5 divide ( temp float)
|
/third_party/node/doc/contributing/ |
D | adding-v8-fast-api.md | 55 static double divide(const int32_t a, 74 const { divide } = internalBinding('custom_namespace'); 118 SetFastMethod(context, target, "divide", SlowDivide, &fast_divide_);
|