Home
last modified time | relevance | path

Searched refs:remainder (Results 1 – 25 of 454) sorted by relevance

12345678910>>...19

/external/python/cpython2/Lib/test/decimaltestdata/
Dremainder.decTest2 -- remainder.decTest -- decimal remainder --
29 remx001 remainder 1 1 -> 0
30 remx002 remainder 2 1 -> 0
31 remx003 remainder 1 2 -> 1
32 remx004 remainder 2 2 -> 0
33 remx005 remainder 0 1 -> 0
34 remx006 remainder 0 2 -> 0
35 remx007 remainder 1 3 -> 1
36 remx008 remainder 2 3 -> 2
37 remx009 remainder 3 3 -> 0
[all …]
DddRemainder.decTest2 -- ddRemainder.decTest -- decDouble remainder --
30 ddrem001 remainder 1 1 -> 0
31 ddrem002 remainder 2 1 -> 0
32 ddrem003 remainder 1 2 -> 1
33 ddrem004 remainder 2 2 -> 0
34 ddrem005 remainder 0 1 -> 0
35 ddrem006 remainder 0 2 -> 0
36 ddrem007 remainder 1 3 -> 1
37 ddrem008 remainder 2 3 -> 2
38 ddrem009 remainder 3 3 -> 0
[all …]
DdqRemainder.decTest2 -- dqRemainder.decTest -- decQuad remainder --
30 dqrem001 remainder 1 1 -> 0
31 dqrem002 remainder 2 1 -> 0
32 dqrem003 remainder 1 2 -> 1
33 dqrem004 remainder 2 2 -> 0
34 dqrem005 remainder 0 1 -> 0
35 dqrem006 remainder 0 2 -> 0
36 dqrem007 remainder 1 3 -> 1
37 dqrem008 remainder 2 3 -> 2
38 dqrem009 remainder 3 3 -> 0
[all …]
Drandoms.decTest36 xrem001 remainder 905.67402 -202896611.E-780472620 -> NaN Division_impossible
44 xrem002 remainder 3915134.7 -597164907. -> 3915134.7
52 xrem003 remainder 309759261 62663.487 -> 13644.759
60 xrem004 remainder 3.93591888E-236595626 7242375.00 -> 3.93591888E-236595626
68 xrem005 remainder 323902.714 -608669.607E-657060568 -> NaN Division_impossible
76 xrem006 remainder 5.11970092 -8807.22036 -> 5.11970092
84 xrem007 remainder -7.99874516 4561.83758 -> -7.99874516
92 xrem008 remainder 297802878 -927206.324 -> 169647.996
100 xrem009 remainder -766.651824 31300.3619 -> -766.651824
108 xrem010 remainder -56746.8689E+934981942 471002521. -> NaN Division_impossible
[all …]
DrandomBound32.decTest38 remx3001 remainder 4953734675913.065314738743322579 0218.932010396534371704930714860E+797 -> 495373…
46 remx3002 remainder 9641.684323386955881595490347910E-844 -78864532047.12287484430980636798E+934 -> …
54 remx3003 remainder -1.028048571628326871054964307774E+529 49200008645699.35577937582714739 -> NaN D…
62 remx3004 remainder 479084.8561808930525417735205519 084157571054.2691784660983989931 -> 479084.8561…
70 remx3005 remainder -0363750788.573782205664349562931 -3172.080934464133691909905980096 -> -1923.656…
78 remx3006 remainder 1381026551423669919010191878449 -82.66614775445371254999357800739 -> 74.22115953…
86 remx3007 remainder 4627.026960423072127953556635585 -4410583132901.830017479741231131 -> 4627.02696…
94 remx3008 remainder 75353574493.84484153484918212042 -8684111695095849922263044191221 -> 75353574493…
102 remx3009 remainder 6907058.216435355874729592373011 2.857005446917670515662398741545 -> 1.846043452…
110 remx3010 remainder -38949530427253.24030680468677190 712168021.1265384466442576619064E-992 -> NaN D…
[all …]
/external/python/cpython3/Lib/test/decimaltestdata/
Dremainder.decTest2 -- remainder.decTest -- decimal remainder --
29 remx001 remainder 1 1 -> 0
30 remx002 remainder 2 1 -> 0
31 remx003 remainder 1 2 -> 1
32 remx004 remainder 2 2 -> 0
33 remx005 remainder 0 1 -> 0
34 remx006 remainder 0 2 -> 0
35 remx007 remainder 1 3 -> 1
36 remx008 remainder 2 3 -> 2
37 remx009 remainder 3 3 -> 0
[all …]
DddRemainder.decTest2 -- ddRemainder.decTest -- decDouble remainder --
30 ddrem001 remainder 1 1 -> 0
31 ddrem002 remainder 2 1 -> 0
32 ddrem003 remainder 1 2 -> 1
33 ddrem004 remainder 2 2 -> 0
34 ddrem005 remainder 0 1 -> 0
35 ddrem006 remainder 0 2 -> 0
36 ddrem007 remainder 1 3 -> 1
37 ddrem008 remainder 2 3 -> 2
38 ddrem009 remainder 3 3 -> 0
[all …]
DdqRemainder.decTest2 -- dqRemainder.decTest -- decQuad remainder --
30 dqrem001 remainder 1 1 -> 0
31 dqrem002 remainder 2 1 -> 0
32 dqrem003 remainder 1 2 -> 1
33 dqrem004 remainder 2 2 -> 0
34 dqrem005 remainder 0 1 -> 0
35 dqrem006 remainder 0 2 -> 0
36 dqrem007 remainder 1 3 -> 1
37 dqrem008 remainder 2 3 -> 2
38 dqrem009 remainder 3 3 -> 0
[all …]
Drandoms.decTest36 xrem001 remainder 905.67402 -202896611.E-780472620 -> NaN Division_impossible
44 xrem002 remainder 3915134.7 -597164907. -> 3915134.7
52 xrem003 remainder 309759261 62663.487 -> 13644.759
60 xrem004 remainder 3.93591888E-236595626 7242375.00 -> 3.93591888E-236595626
68 xrem005 remainder 323902.714 -608669.607E-657060568 -> NaN Division_impossible
76 xrem006 remainder 5.11970092 -8807.22036 -> 5.11970092
84 xrem007 remainder -7.99874516 4561.83758 -> -7.99874516
92 xrem008 remainder 297802878 -927206.324 -> 169647.996
100 xrem009 remainder -766.651824 31300.3619 -> -766.651824
108 xrem010 remainder -56746.8689E+934981942 471002521. -> NaN Division_impossible
[all …]
DrandomBound32.decTest38 remx3001 remainder 4953734675913.065314738743322579 0218.932010396534371704930714860E+797 -> 495373…
46 remx3002 remainder 9641.684323386955881595490347910E-844 -78864532047.12287484430980636798E+934 -> …
54 remx3003 remainder -1.028048571628326871054964307774E+529 49200008645699.35577937582714739 -> NaN D…
62 remx3004 remainder 479084.8561808930525417735205519 084157571054.2691784660983989931 -> 479084.8561…
70 remx3005 remainder -0363750788.573782205664349562931 -3172.080934464133691909905980096 -> -1923.656…
78 remx3006 remainder 1381026551423669919010191878449 -82.66614775445371254999357800739 -> 74.22115953…
86 remx3007 remainder 4627.026960423072127953556635585 -4410583132901.830017479741231131 -> 4627.02696…
94 remx3008 remainder 75353574493.84484153484918212042 -8684111695095849922263044191221 -> 75353574493…
102 remx3009 remainder 6907058.216435355874729592373011 2.857005446917670515662398741545 -> 1.846043452…
110 remx3010 remainder -38949530427253.24030680468677190 712168021.1265384466442576619064E-992 -> NaN D…
[all …]
/external/skia/src/core/
DSkRTree.cpp69 int remainder = branches % kMaxChildren; in CountNodes() local
70 if (remainder > 0) { in CountNodes()
72 if (remainder >= kMinChildren) { in CountNodes()
73 remainder = 0; in CountNodes()
75 remainder = kMinChildren - remainder; in CountNodes()
85 if (remainder != 0) { in CountNodes()
86 if (remainder <= kMaxChildren - kMinChildren) { in CountNodes()
87 incrementBy -= remainder; in CountNodes()
88 remainder = 0; in CountNodes()
91 remainder -= kMaxChildren - kMinChildren; in CountNodes()
[all …]
/external/skqp/src/core/
DSkRTree.cpp69 int remainder = branches % kMaxChildren; in CountNodes() local
70 if (remainder > 0) { in CountNodes()
72 if (remainder >= kMinChildren) { in CountNodes()
73 remainder = 0; in CountNodes()
75 remainder = kMinChildren - remainder; in CountNodes()
85 if (remainder != 0) { in CountNodes()
86 if (remainder <= kMaxChildren - kMinChildren) { in CountNodes()
87 incrementBy -= remainder; in CountNodes()
88 remainder = 0; in CountNodes()
91 remainder -= kMaxChildren - kMinChildren; in CountNodes()
[all …]
/external/speex/libspeex/
Dresample_neon.h58 uint32_t remainder = len % 16; in inner_product_single() local
59 len = len - remainder; in inner_product_single()
103 [len] "+r" (len), [remainder] "+r" (remainder) in inner_product_single()
131 uint32_t remainder = len % 16; in inner_product_single() local
132 len = len - remainder; in inner_product_single()
181 [len] "+l" (len), [remainder] "+l" (remainder) in inner_product_single()
/external/libyuv/files/source/
Dcompare.cc34 int remainder; in HashDjb2() local
52 remainder = (int)count & ~15; in HashDjb2()
53 if (remainder) { in HashDjb2()
54 seed = HashDjb2_SSE(src, remainder, seed); in HashDjb2()
55 src += remainder; in HashDjb2()
56 count -= remainder; in HashDjb2()
58 remainder = (int)count & 15; in HashDjb2()
59 if (remainder) { in HashDjb2()
60 seed = HashDjb2_C(src, remainder, seed); in HashDjb2()
122 int remainder = count & (kBlockSize - 1) & ~31; in ComputeSumSquareError() local
[all …]
/external/libvpx/libvpx/third_party/libyuv/source/
Dcompare.cc34 int remainder; in HashDjb2() local
53 remainder = (int)(count) & ~15; in HashDjb2()
54 if (remainder) { in HashDjb2()
55 seed = HashDjb2_SSE(src, remainder, seed); in HashDjb2()
56 src += remainder; in HashDjb2()
57 count -= remainder; in HashDjb2()
59 remainder = (int)(count) & 15; in HashDjb2()
60 if (remainder) { in HashDjb2()
61 seed = HashDjb2_C(src, remainder, seed); in HashDjb2()
122 int remainder = count & (kBlockSize - 1) & ~31; in ComputeSumSquareError() local
[all …]
/external/icu/icu4c/source/i18n/
Dgregoimp.cpp36 int32_t& remainder) { in floorDivide() argument
39 remainder = (int32_t) (numerator - (quotient * denominator)); in floorDivide()
44 double& remainder) { in floorDivide() argument
48 remainder = dividend - (quotient * divisor); in floorDivide()
52 if (remainder < 0 || remainder >= divisor) { in floorDivide()
57 quotient += (remainder < 0) ? -1 : +1; in floorDivide()
68 remainder = 0; in floorDivide()
70 remainder = dividend - (quotient * divisor); in floorDivide()
73 U_ASSERT(0 <= remainder && remainder < divisor); in floorDivide()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DGrego.java112 long[] remainder = new long[1]; in dayOfWeek() local
113 floorDivide(day + 5 /* Calendar.THURSDAY */, 7, remainder); in dayOfWeek()
114 int dayOfWeek = (int)remainder[0]; in dayOfWeek()
178 long[] remainder = new long[1]; in timeToFields() local
179 long day = floorDivide(time, 24*60*60*1000 /* milliseconds per day */, remainder); in timeToFields()
181 fields[5] = (int)remainder[0]; in timeToFields()
193 private static long floorDivide(long numerator, long denominator, long[] remainder) { in floorDivide() argument
195 remainder[0] = numerator % denominator; in floorDivide()
199 remainder[0] = numerator - (quotient * denominator); in floorDivide()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DGrego.java110 long[] remainder = new long[1]; in dayOfWeek() local
111 floorDivide(day + 5 /* Calendar.THURSDAY */, 7, remainder); in dayOfWeek()
112 int dayOfWeek = (int)remainder[0]; in dayOfWeek()
176 long[] remainder = new long[1]; in timeToFields() local
177 long day = floorDivide(time, 24*60*60*1000 /* milliseconds per day */, remainder); in timeToFields()
179 fields[5] = (int)remainder[0]; in timeToFields()
191 private static long floorDivide(long numerator, long denominator, long[] remainder) { in floorDivide() argument
193 remainder[0] = numerator % denominator; in floorDivide()
197 remainder[0] = numerator - (quotient * denominator); in floorDivide()
/external/mesa3d/src/compiler/glsl/
Dopt_rebalance_tree.cpp75 ir_rvalue *remainder = root->operands[1]; in tree_to_vine() local
77 while (remainder != NULL) { in tree_to_vine()
78 ir_expression *remainder_temp = remainder->as_expression(); in tree_to_vine()
84 vine_tail = remainder; in tree_to_vine()
85 remainder = remainder->as_expression() ? in tree_to_vine()
86 ((ir_expression *)remainder)->operands[1] : NULL; in tree_to_vine()
91 ((ir_expression *)remainder)->operands[0] = tempptr->operands[1]; in tree_to_vine()
92 tempptr->operands[1] = remainder; in tree_to_vine()
93 remainder = tempptr; in tree_to_vine()
/external/pdfium/fxbarcode/common/reedsolomon/
DBC_ReedSolomonGF256Poly.cpp209 auto remainder = Clone(); in Divide() local
210 if (!remainder) in Divide()
219 while (remainder->GetDegree() >= other->GetDegree() && !remainder->IsZero()) { in Divide()
220 int32_t degreeDifference = remainder->GetDegree() - other->GetDegree(); in Divide()
222 m_field->Multiply(remainder->GetCoefficients((remainder->GetDegree())), in Divide()
233 remainder = remainder->AddOrSubtract(term.get()); in Divide()
234 if (!remainder) in Divide()
237 return remainder; in Divide()
/external/libyuv/files/util/
Dpsnr.cc265 int remainder = count & (kBlockSize - 1) & ~15; in ComputeSumSquareError() local
266 if (remainder) { in ComputeSumSquareError()
267 sse += SumSquareError(src_a, src_b, remainder); in ComputeSumSquareError()
268 src_a += remainder; in ComputeSumSquareError()
269 src_b += remainder; in ComputeSumSquareError()
271 remainder = count & 15; in ComputeSumSquareError()
272 if (remainder) { in ComputeSumSquareError()
273 sse += SumSquareError_C(src_a, src_b, remainder); in ComputeSumSquareError()
/external/guava/guava-tests/test/com/google/common/primitives/
DUnsignedLongsTest.java123 assertEquals(4, UnsignedLongs.remainder(14, 5)); in testRemainder()
124 assertEquals(0, UnsignedLongs.remainder(0, 50)); in testRemainder()
125 assertEquals(1, UnsignedLongs.remainder(0xfffffffffffffffeL, 0xfffffffffffffffdL)); in testRemainder()
127 UnsignedLongs.remainder(0xfffffffffffffffdL, 0xfffffffffffffffeL)); in testRemainder()
128 assertEquals(65534L, UnsignedLongs.remainder(0xfffffffffffffffeL, 65535)); in testRemainder()
129 assertEquals(0, UnsignedLongs.remainder(0xfffffffffffffffeL, 2)); in testRemainder()
130 assertEquals(4, UnsignedLongs.remainder(0xfffffffffffffffeL, 5)); in testRemainder()
143 + UnsignedLongs.remainder(dividend, divisor))); in testDivideRemainderEuclideanProperty()
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DUnsignedLongsTest.java120 assertEquals(4, UnsignedLongs.remainder(14, 5)); in testRemainder()
121 assertEquals(0, UnsignedLongs.remainder(0, 50)); in testRemainder()
122 assertEquals(1, UnsignedLongs.remainder(0xfffffffffffffffeL, 0xfffffffffffffffdL)); in testRemainder()
124 UnsignedLongs.remainder(0xfffffffffffffffdL, 0xfffffffffffffffeL)); in testRemainder()
125 assertEquals(65534L, UnsignedLongs.remainder(0xfffffffffffffffeL, 65535)); in testRemainder()
126 assertEquals(0, UnsignedLongs.remainder(0xfffffffffffffffeL, 2)); in testRemainder()
127 assertEquals(4, UnsignedLongs.remainder(0xfffffffffffffffeL, 5)); in testRemainder()
/external/protobuf/js/binary/
Darith.js236 var remainder = new jspb.arith.UInt64(this.lo, this.hi);
250 if (divisor.cmp(remainder) <= 0) {
252 remainder = remainder.sub(divisor);
259 return [quotient, remainder];
273 var quotient = divResult[0], remainder = divResult[1];
274 result = remainder.lo + result;
/external/proguard/src/proguard/evaluation/value/
DDoubleValue.java106 public abstract DoubleValue remainder(DoubleValue other); in remainder() method in DoubleValue
197 public DoubleValue remainder(SpecificDoubleValue other) in remainder() method in DoubleValue
199 return remainder((DoubleValue)other); in remainder()
300 public DoubleValue remainder(ParticularDoubleValue other) in remainder() method in DoubleValue
302 return remainder((SpecificDoubleValue)other); in remainder()

12345678910>>...19