Home
last modified time | relevance | path

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

12345678910>>...39

/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/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/skia/src/core/
DSkRTree.cpp62 int remainder = branches % kMaxChildren; in CountNodes() local
63 if (remainder > 0) { in CountNodes()
65 if (remainder >= kMinChildren) { in CountNodes()
66 remainder = 0; in CountNodes()
68 remainder = kMinChildren - remainder; in CountNodes()
75 if (remainder != 0) { in CountNodes()
76 if (remainder <= kMaxChildren - kMinChildren) { in CountNodes()
77 incrementBy -= remainder; in CountNodes()
78 remainder = 0; in CountNodes()
81 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/cpu_features/src/
Dstring_view.c34 StringView remainder = view; in CpuFeatures_StringView_IndexOf() local
35 while (remainder.size >= sub_view.size) { in CpuFeatures_StringView_IndexOf()
37 CpuFeatures_StringView_IndexOfChar(remainder, sub_view.ptr[0]); in CpuFeatures_StringView_IndexOf()
39 remainder = CpuFeatures_StringView_PopFront(remainder, found_index); in CpuFeatures_StringView_IndexOf()
40 if (CpuFeatures_StringView_StartsWith(remainder, sub_view)) { in CpuFeatures_StringView_IndexOf()
41 return (int)(remainder.ptr - view.ptr); in CpuFeatures_StringView_IndexOf()
43 remainder = CpuFeatures_StringView_PopFront(remainder, 1); in CpuFeatures_StringView_IndexOf()
112 StringView remainder = view; in ParsePositiveNumberWithBase() local
113 for (; remainder.size; in ParsePositiveNumberWithBase()
114 remainder = CpuFeatures_StringView_PopFront(remainder, 1)) { in ParsePositiveNumberWithBase()
[all …]
/external/skqp/src/gpu/
DGrVertexWriter.h48 void write(const T& val, const Args&... remainder) { in write()
56 this->write(remainder...); in write()
60 void write(const T(&val)[N], const Args&... remainder) { in write()
65 this->write(remainder...); in write()
69 void write(const GrVertexColor& color, const Args&... remainder) { in write()
74 this->write(remainder...); in write()
78 void write(const Conditional<T>& val, const Args&... remainder) { in write()
82 this->write(remainder...); in write()
86 void write(const Skip<T>& val, const Args&... remainder) { in write()
88 this->write(remainder...); in write()
[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()
127 int remainder = count & (kBlockSize - 1) & ~(kSimdSize - 1); in ComputeHammingDistance() local
[all …]
/external/skia/src/gpu/
DGrVertexWriter.h68 void write(const T& val, const Args&... remainder) { in write()
76 this->write(remainder...); in write()
80 void write(const T(&val)[N], const Args&... remainder) { in write()
85 this->write(remainder...); in write()
89 void write(const GrVertexColor& color, const Args&... remainder) { in write()
96 this->write(remainder...); in write()
100 void write(const Conditional<T>& val, const Args&... remainder) { in write()
104 this->write(remainder...); in write()
108 void write(const Skip<T>& val, const Args&... remainder) { in write()
110 this->write(remainder...); in write()
[all …]
/external/libyuv/files/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()
127 int remainder = count & (kBlockSize - 1) & ~(kSimdSize - 1); in ComputeHammingDistance() local
[all …]
/external/libaom/libaom/av1/encoder/
Dhash.c18 (p_crc_calculator->remainder >> (p_crc_calculator->bits - 8)) ^ in crc_calculator_process_data()
20 p_crc_calculator->remainder <<= 8; in crc_calculator_process_data()
21 p_crc_calculator->remainder ^= p_crc_calculator->table[index]; in crc_calculator_process_data()
26 p_crc_calculator->remainder = 0; in crc_calculator_reset()
30 return p_crc_calculator->remainder & p_crc_calculator->final_result_mask; in crc_calculator_get_crc()
38 uint32_t remainder = 0; in crc_calculator_init_table() local
41 remainder ^= high_bit; in crc_calculator_init_table()
44 if (remainder & high_bit) { in crc_calculator_init_table()
45 remainder <<= 1; in crc_calculator_init_table()
46 remainder ^= p_crc_calculator->trunc_poly; in crc_calculator_init_table()
[all …]
/external/pthreadpool/src/
Dfastpath.c166 size_t j = index_i_j.remainder; in pthreadpool_thread_parallelize_2d_fastpath()
186 task(argument, index_i_j.quotient, index_i_j.remainder); in pthreadpool_thread_parallelize_2d_fastpath()
213 size_t start_j = tile_index_i_j.remainder * tile_j; in pthreadpool_thread_parallelize_2d_tile_1d_fastpath()
235 const size_t start_j = tile_index_i_j.remainder * tile_j; in pthreadpool_thread_parallelize_2d_tile_1d_fastpath()
264 size_t start_j = tile_index_i_j.remainder * tile_j; in pthreadpool_thread_parallelize_2d_tile_2d_fastpath()
288 const size_t start_j = tile_index_i_j.remainder * tile_j; in pthreadpool_thread_parallelize_2d_tile_2d_fastpath()
328 size_t start_j = index.remainder * tile_j; in pthreadpool_thread_parallelize_2d_tile_2d_with_uarch_fastpath()
350 const size_t start_j = tile_index_i_j.remainder * tile_j; in pthreadpool_thread_parallelize_2d_tile_2d_with_uarch_fastpath()
379 size_t j = index_i_j.remainder; in pthreadpool_thread_parallelize_3d_fastpath()
380 size_t k = index_ij_k.remainder; in pthreadpool_thread_parallelize_3d_fastpath()
[all …]
/external/speex/libspeexdsp/
Dresample_neon.h71 uint32_t remainder = len % 16; in inner_product_single() local
72 len = len - remainder; in inner_product_single()
116 [len] "+r" (len), [remainder] "+r" (remainder) in inner_product_single()
145 uint32_t remainder = len % 16; in inner_product_single() local
146 len = len - remainder; in inner_product_single()
195 [len] "+l" (len), [remainder] "+l" (remainder) in inner_product_single()
/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/libaom/libaom/third_party/libyuv/source/
Dcompare.cc51 int remainder; in HashDjb2() local
69 remainder = (int)(count) & ~15; in HashDjb2()
70 if (remainder) { in HashDjb2()
71 seed = HashDjb2_SSE(src, remainder, seed); in HashDjb2()
72 src += remainder; in HashDjb2()
73 count -= remainder; in HashDjb2()
75 remainder = (int)(count) & 15; in HashDjb2()
76 if (remainder) { in HashDjb2()
77 seed = HashDjb2_C(src, remainder, seed); in HashDjb2()
155 int remainder = count & (kBlockSize - 1) & ~31; in ComputeSumSquareError() local
[all …]
/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/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/pdfium/fxbarcode/common/reedsolomon/
DBC_ReedSolomonGF256Poly.cpp150 auto remainder = Clone(); in Divide() local
151 if (!remainder) in Divide()
160 while (remainder->GetDegree() >= other->GetDegree() && !remainder->IsZero()) { in Divide()
161 int32_t degreeDifference = remainder->GetDegree() - other->GetDegree(); in Divide()
163 m_field->Multiply(remainder->GetCoefficients((remainder->GetDegree())), in Divide()
174 remainder = remainder->AddOrSubtract(term.get()); in Divide()
175 if (!remainder) in Divide()
178 return remainder; in Divide()

12345678910>>...39