Home
last modified time | relevance | path

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

12345678910>>...18

/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 …]
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 …]
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 …]
/third_party/boost/libs/date_time/test/
Dtestwrapping_int.cpp31 check("subtract no wrap", wi.subtract(1) == 0); in main()
33 check("subtract no wrap", wi.subtract(3601) == 2); in main()
36 check("subtract again", (wi.subtract(2) == 1) && (wi == 3599)); in main()
38 check("subtract again", (wi.subtract(3600) == 1) && (wi == 1)); in main()
39 check("subtract again", (wi.subtract(3599) == 1) && (wi == 2)); in main()
40 check("subtract again", (wi.subtract(1) == 0) && (wi == 1)); in main()
54 (wi4.subtract(-8) == -1 && wi4 == 3)); in main()
71 check("subtract of the wrap value", (wi5.subtract(1) == -1 && wi5 == 12)); in main()
72 check("subtract of the wrap value", (wi5.subtract(13) == -1 && wi5 == 11)); in main()
81 check("sub down to wrap value", wi6.subtract(1) == 0 && wi6 == 2); in main()
[all …]
/third_party/node/deps/npm/node_modules/ecc-jsbn/lib/
Dec.js37 return new ECFieldElementFp(this.q, this.x.subtract(b.toBigInteger()).mod(this.q));
56 ECFieldElementFp.prototype.subtract = feFpSubtract; method in ECFieldElementFp
105 …u = other.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(other.z)).mod(…
108 …v = other.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(other.z)).mod(…
126 …var u = b.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(b.z)).mod(this…
128 …var v = b.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(b.z)).mod(this…
149 … var x3 = zu2.subtract(x1v2.shiftLeft(1)).multiply(b.z).subtract(v3).multiply(v).mod(this.curve.q);
151 …var y3 = x1v2.multiply(THREE).multiply(u).subtract(y1.multiply(v3)).subtract(zu2.multiply(u)).mult…
179 …var x3 = w.square().subtract(x1.shiftLeft(3).multiply(y1sqz1)).shiftLeft(1).multiply(y1z1).mod(thi…
181 …var y3 = w.multiply(THREE).multiply(x1).subtract(y1sqz1.shiftLeft(1)).shiftLeft(2).multiply(y1sqz1…
[all …]
/third_party/glib/gio/tests/
Dfileattributematcher.c74 const char *subtract; in test_subtract() member
134 GFileAttributeMatcher *matcher, *subtract, *result; in test_subtract() local
141 subtract = g_file_attribute_matcher_new (subtractions[i].subtract); in test_subtract()
142 result = g_file_attribute_matcher_subtract (matcher, subtract); in test_subtract()
147 g_file_attribute_matcher_unref (subtract); in test_subtract()
/third_party/boost/libs/icl/doc/
Dfunctions_subtraction.qbk17 [[`T& T::subtract(const P&)`] [ ] [__ei] [__bp] [ ] [__b] ]
18 [[`T& subtract(T&, const P&)`] [ ] [__ei] [__bp] [__e] [__b] ]
60 T& T::subtract(const P&) ---+--------
61 T& subtract(T&, const P&) s | s
67 The next table contains complexity characteristics for `subtract`.
69 [table Time Complexity for function subtract on icl containers
70 [[`T& T::subtract(const P&)`\n
71 `T& subtract(T&, const P&)`] [__ch_dom_t__][__ch_itv_t__][__ch_dom_mp_t__][__ch_itv_mp_t__]]
166 [subtract `left_minuend` from the interval `right` on it's left side.
175 [subtract `right_minuend` from the interval `left` on it's right side.
/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/grpc/src/php/tests/unit_tests/
DTimevalTest.php91 $time2 = $time2->subtract($delta);
92 $time2 = $time2->subtract($delta);
143 $deadline = $now->subtract($delta);
152 $back_to_now = $deadline->subtract($delta);
161 $back_to_now = $deadline->subtract($delta);
205 $a->subtract(1000);
/third_party/boost/boost/random/detail/
Dsigned_unsigned_tools.hpp28 struct subtract { }; struct
31 struct subtract<T, /* signed */ false> struct
38 struct subtract<T, /* signed */ true> struct
/third_party/boost/boost/icl/concept/
Dinterval_set.hpp132 subtract(Type& object, const typename Type::segment_type& operand) in subtract() function
134 return object.subtract(operand); in subtract()
139 subtract(Type& object, const typename Type::element_type& operand) in subtract() function
142 return icl::subtract(object, icl::singleton<segment_type>(operand)); in subtract()
155 return icl::subtract(object, minuend); in erase()
162 return icl::subtract(object, minuend); in erase()
250 icl::subtract(object, span & covered); //That which is common shall be subtracted in flip()
/third_party/boost/boost/icl/
Dmap.hpp307 map& subtract(const element_type& value_pair) in subtract() function in boost::icl::map
310 ::subtract(*this, value_pair); in subtract()
314 map& subtract(const domain_type& key) in subtract() function in boost::icl::map
419 static void subtract(Type& object, const element_type& operand) in subtract() function
429 static void subtract(Type& object, const element_type& operand) in subtract() function
468 static void subtract(Type&, typename Type::iterator it_, in subtract() function
476 static void subtract(Type& object, typename Type::iterator it_, in subtract() function
485 static void subtract(Type&, typename Type::iterator it_, in subtract() function
496 static void subtract(Type& object, typename Type::iterator it_, in subtract() function
545 ::subtract(object, insertion.first, operand.second); in flip()
[all …]
/third_party/boost/libs/multiprecision/test/
Dtest_mixed_cpp_int.cpp35 subtract(r, l, h); in test()
37 subtract(r, h, l); in test()
69 subtract(r, il, ih); in test()
71 subtract(r, ih, il); in test()
/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/flutter/flutter/packages/flutter/test/painting/
Dborder_radius_test.dart83 …const BorderRadius.only(topLeft: Radius.elliptical(1.0, 2.0)).subtract(const BorderRadius.only(top…
262 …const BorderRadiusDirectional.only(topStart: Radius.elliptical(1.0, 2.0)).subtract(const BorderRad…
372 test('BorderRadiusGeometry subtract', () {
383 expect((a.subtract(b)).resolve(TextDirection.ltr), BorderRadius.only(
389 expect((a.subtract(b)).resolve(TextDirection.rtl), BorderRadius.only(
447 test('BorderRadiusGeometry add and subtract', () {
470 expect((a.add(b.subtract(c))).resolve(TextDirection.ltr), ltr);
471 expect((a.add(b.subtract(c))).resolve(TextDirection.rtl), rtl);
474 test('BorderRadiusGeometry add and subtract, more', () {
506 expect((a.add(b.subtract(c))).resolve(TextDirection.ltr), ltr);
[all …]
/third_party/boost/boost/random/
Duniform_smallint.hpp255 range_type range = random::detail::subtract<result_type>()(_max, _min); in generate()
257 random::detail::subtract<base_result>()((eng.max)(), (eng.min)()); in generate()
259 random::detail::subtract<base_result>()(eng(), (eng.min)()); in generate()
281 range_type range = random::detail::subtract<result_type>()(_max, _min); in generate()
Duniform_int_distribution.hpp59 const range_type range = random::detail::subtract<result_type>()(max_value, min_value); in generate_uniform_int()
62 random::detail::subtract<base_result>()((eng.max)(), (eng.min)()); in generate_uniform_int()
69 base_unsigned v = random::detail::subtract<base_result>()(eng(), bmin); in generate_uniform_int()
117 …result += static_cast<range_type>(static_cast<range_type>(random::detail::subtract<base_result>()(… in generate_uniform_int()
220 random::detail::subtract<base_result>()(eng(), bmin); in generate_uniform_int()
Dindependent_bits.hpp143 detail::subtract<base_result_type>()((_base.max)(), (_base.min)()); in operator ()()
168 u = detail::subtract<base_result_type>()(_base(), (_base.min)()); in operator ()()
177 u = detail::subtract<base_result_type>()(_base(), (_base.min)()); in operator ()()
184 u = detail::subtract<base_result_type>()(_base(), (_base.min)()); in operator ()()
/third_party/mindspore/tests/st/ops/gpu/
Dtest_sub_op.py68 expect0 = np.subtract(np_x0, np_y0)
70 expect1 = np.subtract(np_x1, np_y1)
72 expect2 = np.subtract(np_x2, np_y2)
74 expect3 = np.subtract(np_x3, np_y3)
76 expect4 = np.subtract(np_x4, np_y4)
/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)
/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()

12345678910>>...18