Home
last modified time | relevance | path

Searched refs:subtract (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/third_party/python/Lib/test/decimaltestdata/
DdqSubtract.decTest32 dqsub001 subtract 0 0 -> '0'
33 dqsub002 subtract 1 1 -> '0'
34 dqsub003 subtract 1 2 -> '-1'
35 dqsub004 subtract 2 1 -> '1'
36 dqsub005 subtract 2 2 -> '0'
37 dqsub006 subtract 3 2 -> '1'
38 dqsub007 subtract 2 3 -> '-1'
40 dqsub011 subtract -0 0 -> '-0'
41 dqsub012 subtract -1 1 -> '-2'
42 dqsub013 subtract -1 2 -> '-3'
[all …]
DddSubtract.decTest32 ddsub001 subtract 0 0 -> '0'
33 ddsub002 subtract 1 1 -> '0'
34 ddsub003 subtract 1 2 -> '-1'
35 ddsub004 subtract 2 1 -> '1'
36 ddsub005 subtract 2 2 -> '0'
37 ddsub006 subtract 3 2 -> '1'
38 ddsub007 subtract 2 3 -> '-1'
40 ddsub011 subtract -0 0 -> '-0'
41 ddsub012 subtract -1 1 -> '-2'
42 ddsub013 subtract -1 2 -> '-3'
[all …]
Dsubtract.decTest2 -- subtract.decTest -- decimal subtraction --
29 subx001 subtract 0 0 -> '0'
30 subx002 subtract 1 1 -> '0'
31 subx003 subtract 1 2 -> '-1'
32 subx004 subtract 2 1 -> '1'
33 subx005 subtract 2 2 -> '0'
34 subx006 subtract 3 2 -> '1'
35 subx007 subtract 2 3 -> '-1'
37 subx011 subtract -0 0 -> '-0'
38 subx012 subtract -1 1 -> '-2'
[all …]
Drandoms.decTest37 xsub001 subtract 905.67402 -202896611.E-780472620 -> 905.674020 Inexact Rounded
45 xsub002 subtract 3915134.7 -597164907. -> 601080042 Inexact Rounded
53 xsub003 subtract 309759261 62663.487 -> 309696598 Inexact Rounded
61 xsub004 subtract 3.93591888E-236595626 7242375.00 -> -7242375.00 Inexact Rounded
69 xsub005 subtract 323902.714 -608669.607E-657060568 -> 323902.714 Inexact Rounded
77 xsub006 subtract 5.11970092 -8807.22036 -> 8812.34006 Inexact Rounded
85 xsub007 subtract -7.99874516 4561.83758 -> -4569.83633 Inexact Rounded
93 xsub008 subtract 297802878 -927206.324 -> 298730084 Inexact Rounded
101 xsub009 subtract -766.651824 31300.3619 -> -32067.0137 Inexact Rounded
109 xsub010 subtract -56746.8689E+934981942 471002521. -> -5.67468689E+934981946 Inexact Rounded
[all …]
DrandomBound32.decTest39 subx3001 subtract 4953734675913.065314738743322579 0218.932010396534371704930714860E+797 -> -2.1893…
47 subx3002 subtract 9641.684323386955881595490347910E-844 -78864532047.12287484430980636798E+934 -> 7…
55 subx3003 subtract -1.028048571628326871054964307774E+529 49200008645699.35577937582714739 -> -1.028…
63 subx3004 subtract 479084.8561808930525417735205519 084157571054.2691784660983989931 -> -84157091969…
71 subx3005 subtract -0363750788.573782205664349562931 -3172.080934464133691909905980096 -> -363747616…
79 subx3006 subtract 1381026551423669919010191878449 -82.66614775445371254999357800739 -> 138102655142…
87 subx3007 subtract 4627.026960423072127953556635585 -4410583132901.830017479741231131 -> 44105831375…
95 subx3008 subtract 75353574493.84484153484918212042 -8684111695095849922263044191221 -> 868411169509…
103 subx3009 subtract 6907058.216435355874729592373011 2.857005446917670515662398741545 -> 6907055.3594…
111 subx3010 subtract -38949530427253.24030680468677190 712168021.1265384466442576619064E-992 -> -38949…
[all …]
DddCanonical.decTest302 ddcan502 subtract 0E+384 #77ffff3fcff3fcff -> #f7fcff3fcff3fcff
303 ddcan503 subtract #77fcffffcff3fcff 0E+384 -> #77fcff3fcff3fcff
305 ddcan504 subtract 0E-398 #77ffff3fcff3fcff -> #f7fcff3fcff3fcff Rounded
306 ddcan505 subtract #77fcffffcff3fcff 0E-398 -> #77fcff3fcff3fcff Rounded
308 ddcan506 subtract -1E-398 #77ffff3fcff3fcff -> #f7fcff3fcff3fcff Inexact Rounded
309 ddcan507 subtract #77ffff3fcff3fcff -1E-398 -> #77fcff3fcff3fcff Inexact Rounded
311 ddcan511 subtract 0 #7c03ff3fcff3fcff -> #7c00ff3fcff3fcff
312 ddcan512 subtract #7c03ff3fcff3fcff 0 -> #7c00ff3fcff3fcff
314 ddcan513 subtract 0 #7c40ff3fcff3fcff -> #7c00ff3fcff3fcff
315 ddcan514 subtract #7c40ff3fcff3fcff 0 -> #7c00ff3fcff3fcff
[all …]
DdqCanonical.decTest321 dqcan502 subtract 0E+6144 #77ffcff3fcff3fcffffcff3fcff3fcff -> #f7ffcff3fcff3fcff3fcff3fcf…
322 dqcan503 subtract #77ffcff3fcff3fcff3fcff3ffff3fcff 0E+6144 -> #77ffcff3fcff3fcff3fcff3fcf…
324 dqcan504 subtract 0E-6176 #77ffcff3ffff3fcff3fcff3fcff3fcff -> #f7ffcff3fcff3fcff3fcff3fcf…
325 dqcan505 subtract #77ffcff3fcff3fcff3fcff3fcff3ffff 0E-6176 -> #77ffcff3fcff3fcff3fcff3fcf…
327 dqcan506 subtract -1E-6176 #77ffcff3fcff3fcff3fcff3fcfffffff -> #f7ffcff3fcff3fcff3fcff3fc…
328 dqcan507 subtract #77ffcffffffffffffffffffffff3fcff -1E-6176 -> #77ffcff3fcff3fcff3fcff3fc…
330 dqcan511 subtract 0 #7c000ff3fcff3fcff3fcfffffff3fcff -> #7c000ff3fcff3fcff3fcff3fcff3fcff
331 dqcan512 subtract #7c000ff3fcff3fcfffffff3fcff3fcff 0 -> #7c000ff3fcff3fcff3fcff3fcff3fcff
333 dqcan513 subtract 0 #7c400ff3fcff3fcff3fcff3fcff3fcff -> #7c000ff3fcff3fcff3fcff3fcff3fcff
334 dqcan514 subtract #7c020ff3fcff3fcff3fcff3fcff3fcff 0 -> #7c000ff3fcff3fcff3fcff3fcff3fcff
[all …]
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/
DRangeTreeTest.java157 assertThat(a.subtract(a)).isSameInstanceAs(RangeTree.empty()); in testSubtraction()
158 assertThat(a.subtract(RangeTree.empty())).isEqualTo(a); in testSubtraction()
159 assertThat(RangeTree.empty().subtract(a)).isSameInstanceAs(RangeTree.empty()); in testSubtraction()
162 assertThat(a.subtract(b)).containsExactly("12[0-24-9]x", "123[0-35-9]"); in testSubtraction()
163 assertThat(b.subtract(a)).containsExactly("999", "4[0-46-9]xxx", "45[0-57-9]xx"); in testSubtraction()
193 RangeTree subAB = a.subtract(b); in testVennDiagram()
194 RangeTree subBA = b.subtract(a); in testVennDiagram()
287 assertThat(tree.subtract(ranges("[6-8]xx")).first()).isEqualTo(DigitSequence.of("900")); in testMin()
288 assertThat(tree.subtract(ranges("xxx")).first()).isEqualTo(DigitSequence.of("8000")); in testMin()
289 assertThat(tree.subtract(ranges("xxx", "8[0-6]xx")).first()) in testMin()
[all …]
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/classes/members/instance_and_static_members/
Dinstance_and_static_members_2.ts36 public subtract(): this { method in Counter
48 counter.subtract();
49 Assert.equal(counter.subtract(), counter);
/third_party/node/deps/v8/src/objects/
Dinternal-index.h25 V8_WARN_UNUSED_RESULT InternalIndex adjust_down(size_t subtract) const { in adjust_down() argument
26 DCHECK_GE(entry_, subtract); in adjust_down()
27 return InternalIndex(entry_ - subtract); in adjust_down()
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/
DCalculateLimits.java73 BigDecimal minResidue = minTrunc.subtract(universalMin); in main()
74 BigDecimal maxResidue = universalMax.subtract(maxTrunc); in main()
78 min = minTrunc.subtract(minResidue.min(half)); in main()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/
DDiagBigDecimalTest.java2469 …TestFmwk.assertTrue("sub301", ((new com.ibm.icu.math.BigDecimal(2)).subtract(new com.ibm.icu.math.… in diagsubtract()
2470 …TestFmwk.assertTrue("sub302", ((new com.ibm.icu.math.BigDecimal("5.75")).subtract(new com.ibm.icu.… in diagsubtract()
2471 …TestFmwk.assertTrue("sub303", ((new com.ibm.icu.math.BigDecimal("5")).subtract(new com.ibm.icu.mat… in diagsubtract()
2472 …TestFmwk.assertTrue("sub304", ((new com.ibm.icu.math.BigDecimal("-5")).subtract(new com.ibm.icu.ma… in diagsubtract()
2473 …TestFmwk.assertTrue("sub305", ((new com.ibm.icu.math.BigDecimal("-7")).subtract(new com.ibm.icu.ma… in diagsubtract()
2474 …TestFmwk.assertTrue("sub306", ((new com.ibm.icu.math.BigDecimal("0.7")).subtract(new com.ibm.icu.m… in diagsubtract()
2475 …TestFmwk.assertTrue("sub307", ((new com.ibm.icu.math.BigDecimal("1.3")).subtract(new com.ibm.icu.m… in diagsubtract()
2476 …TestFmwk.assertTrue("sub308", ((new com.ibm.icu.math.BigDecimal("1.25")).subtract(new com.ibm.icu.… in diagsubtract()
2477 …TestFmwk.assertTrue("sub309", ((new com.ibm.icu.math.BigDecimal("1.23456789")).subtract(new com.ib… in diagsubtract()
2479 …TestFmwk.assertTrue("sub310", ((new com.ibm.icu.math.BigDecimal("1.23456789")).subtract(new com.ib… in diagsubtract()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bigdec/
DDiagBigDecimalTest.java2472 …TestFmwk.assertTrue("sub301", ((new ohos.global.icu.math.BigDecimal(2)).subtract(new ohos.global.i… in diagsubtract()
2473 …TestFmwk.assertTrue("sub302", ((new ohos.global.icu.math.BigDecimal("5.75")).subtract(new ohos.glo… in diagsubtract()
2474 …TestFmwk.assertTrue("sub303", ((new ohos.global.icu.math.BigDecimal("5")).subtract(new ohos.global… in diagsubtract()
2475 …TestFmwk.assertTrue("sub304", ((new ohos.global.icu.math.BigDecimal("-5")).subtract(new ohos.globa… in diagsubtract()
2476 …TestFmwk.assertTrue("sub305", ((new ohos.global.icu.math.BigDecimal("-7")).subtract(new ohos.globa… in diagsubtract()
2477 …TestFmwk.assertTrue("sub306", ((new ohos.global.icu.math.BigDecimal("0.7")).subtract(new ohos.glob… in diagsubtract()
2478 …TestFmwk.assertTrue("sub307", ((new ohos.global.icu.math.BigDecimal("1.3")).subtract(new ohos.glob… in diagsubtract()
2479 …TestFmwk.assertTrue("sub308", ((new ohos.global.icu.math.BigDecimal("1.25")).subtract(new ohos.glo… in diagsubtract()
2480 …TestFmwk.assertTrue("sub309", ((new ohos.global.icu.math.BigDecimal("1.23456789")).subtract(new oh… in diagsubtract()
2482 …TestFmwk.assertTrue("sub310", ((new ohos.global.icu.math.BigDecimal("1.23456789")).subtract(new oh… in diagsubtract()
[all …]
/third_party/glslang/Test/baseResults/
Dalways-discard2.frag.out30 0:11 subtract ( temp float)
43 0:12 subtract ( temp float)
92 0:11 subtract ( temp float)
105 0:12 subtract ( temp float)
Ddiscard-dce.frag.out30 0:11 subtract ( temp float)
43 0:12 subtract ( temp float)
103 0:31 subtract second child into first child ( temp 4-component vector of float)
151 0:11 subtract ( temp float)
164 0:12 subtract ( temp float)
224 0:31 subtract second child into first child ( temp 4-component vector of float)
Dalways-discard.frag.out30 0:11 subtract ( temp float)
43 0:12 subtract ( temp float)
103 0:32 subtract second child into first child ( temp 4-component vector of float)
151 0:11 subtract ( temp float)
164 0:12 subtract ( temp float)
224 0:32 subtract second child into first child ( temp 4-component vector of float)
DfindFunction.frag.out41 0:12 subtract ( temp int)
66 0:22 subtract ( temp float)
81 0:27 subtract ( temp float)
153 0:12 subtract ( temp int)
165 0:22 subtract ( temp float)
180 0:27 subtract ( temp float)
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimeUtil.java301 public static Timestamp subtract(Timestamp start, Duration length) { in subtract() method in TimeUtil
302 return Timestamps.subtract(start, length); in subtract()
321 public static Duration subtract(Duration d1, Duration d2) { in subtract() method in TimeUtil
322 return Durations.subtract(d1, d2); in subtract()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/
DRangeTable.java163 return rangeMap != null ? all.subtract(rangeMap.getAssignedRanges()) : all; in getRanges()
190 return allRanges.subtract(allAssigned); in getUnassignedRanges()
276 allRanges = allRanges.subtract(ranges); in remove()
464 return getAllRanges().subtract(getAssignedRanges(column)); in getRanges()
578 RangeTree unassigned = getAllRanges().subtract(getAssignedRanges(c)); in toImmutableTable()
629 map.put(value, PrefixTree.minimal(include, allRanges.subtract(include), minPrefixLength)); in getPrefixMap()
709 RangeTree otherRanges = allRanges.subtract(indexTable.getRanges(INDEX, n)); in simplifyIndexTable()
746 .subTable(allRanges.subtract(overlaps), INDEX) in simplifyIndexTable()
773 disjointRange, simplifiedRange, disjointRange.subtract(simplifiedRange)); in simplifyIndexTable()
874 remainder = remainder.subtract(overlap); in toRows()
DDisjointRangeMap.java86 ranges = ranges.subtract(map.getOrDefault(checkedValue, RangeTree.empty())); in checkAssign()
117 e.setValue(e.getValue().subtract(overlap)); in assign()
126 assignedRanges = assignedRanges.subtract(ranges); in assign()
/third_party/typescript/tests/baselines/reference/
DcommentsCommentParsing.js127 function subtract(a: number, b: number, c?: () => string, d?: () => string, e?: () => string, f?: (… function
261 function subtract(a, b, c, d, e, f) {
350 declare function subtract(a: number, b: number, c?: () => string, d?: () => string, e?: () => strin…
/third_party/typescript/tests/arkTSTest/testcase/arkts-no-obj-literals-as-types/
Darkts-no-obj-literals-as-types-2-error.ets19 subtract: (x: number, y: number) => number;
22 subtract: (x, y) => x - y,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPFloat.h246 opStatus subtract(const IEEEFloat &, roundingMode);
270 Result.subtract(RHS, rmNearestTiesToEven);
500 lostFraction addOrSubtractSignificand(const IEEEFloat &, bool subtract);
520 opStatus addOrSubtractSpecials(const IEEEFloat &, bool subtract);
532 opStatus addOrSubtract(const IEEEFloat &, roundingMode, bool subtract);
638 opStatus subtract(const DoubleAPFloat &RHS, roundingMode RM);
932 opStatus subtract(const APFloat &RHS, roundingMode RM) { in subtract() function
934 return U.IEEE.subtract(RHS.U.IEEE, RM); in subtract()
936 return U.Double.subtract(RHS.U.Double, RM); in subtract()
/third_party/typescript/tests/arkTSTest/testcase/arkts-no-ns-statements/
Darkts-no-ns-statements-5-error.ets22 export function subtract(a: number, b: number): number {
29 let result2 = MathUtils.subtract(10, 4)
/third_party/typescript/tests/arkTSTest/testcase/arkts-no-ns-statements/arkts-no-ns-statements/
Darkts-no-ns-statements-5-error.ets22 export function subtract(a: number, b: number): number {
29 let result2 = MathUtils.subtract(10, 4)

12345678910>>...14