Home
last modified time | relevance | path

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

12345678910>>...24

/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/skia/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/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/u-boot/include/linux/
Dmath64.h19 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in div_u64_rem() argument
21 *remainder = dividend % divisor; in div_u64_rem()
28 static inline s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem() argument
30 *remainder = dividend % divisor; in div_s64_rem()
37 static inline u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem() argument
39 *remainder = dividend % divisor; in div64_u64_rem()
65 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in div_u64_rem() argument
67 *remainder = do_div(dividend, divisor); in div_u64_rem()
73 extern s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder);
77 extern u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder);
[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/u-boot/lib/
Ddiv64.c64 s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem() argument
69 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
70 *remainder = -*remainder; in div_s64_rem()
74 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
95 u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem() argument
103 *remainder = rem32; in div64_u64_rem()
111 *remainder = dividend - quot * divisor; in div64_u64_rem()
112 if (*remainder >= divisor) { in div64_u64_rem()
114 *remainder -= divisor; in div64_u64_rem()
181 u32 iter_div_u64_rem(u64 dividend, u32 divisor, u64 *remainder) in iter_div_u64_rem() argument
[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/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/fsverity-utils/scripts/
Dgen_crc32c_table.c20 static uint32_t crc32c_update_bit(uint32_t remainder, uint8_t bit) in crc32c_update_bit() argument
22 return (remainder >> 1) ^ in crc32c_update_bit()
23 (((remainder ^ bit) & 1) ? CRC32C_POLY_LE : 0); in crc32c_update_bit()
26 static uint32_t crc32c_update_byte(uint32_t remainder, uint8_t byte) in crc32c_update_byte() argument
31 remainder = crc32c_update_bit(remainder, byte & 1); in crc32c_update_byte()
32 return remainder; in crc32c_update_byte()
/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/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()

12345678910>>...24