Searched refs:expdiff (Results 1 – 9 of 9) sorted by relevance
/aosp_15_r20/external/arm-optimized-routines/math/test/rtest/ |
H A D | dotest.c | 1314 int expdiff = random_upto(101)-51; in atan2_cases() local 1316 if (expdiff < 0) { in atan2_cases() 1317 expdiff = -expdiff; in atan2_cases() 1321 out[swap ^ 0] = random_upto(0x7FEFFFFF-((expdiff+1)<<20)); in atan2_cases() 1322 out[swap ^ 2] = random_upto(((expdiff+1)<<20)-1) + out[swap ^ 0]; in atan2_cases() 1333 int expdiff = random_upto(44)-22; in atan2_cases_float() local 1335 if (expdiff < 0) { in atan2_cases_float() 1336 expdiff = -expdiff; in atan2_cases_float() 1340 out[swap ^ 0] = random_upto(0x7F7FFFFF-((expdiff+1)<<23)); in atan2_cases_float() 1341 out[swap ^ 2] = random_upto(((expdiff+1)<<23)-1) + out[swap ^ 0]; in atan2_cases_float()
|
/aosp_15_r20/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | mpdecimal.c | 3954 mpd_ssize_t ideal_exp, expdiff, shift; in _mpd_qdivmod() local 3969 expdiff = mpd_adjexp(a) - mpd_adjexp(b); in _mpd_qdivmod() 3970 if (expdiff < 0) { in _mpd_qdivmod() 3987 if (expdiff > ctx->prec) { in _mpd_qdivmod() 6966 mpd_ssize_t expdiff, shift; in mpd_qquantize() local 6993 expdiff = a->exp - b->exp; in mpd_qquantize() 6994 if (a->digits + expdiff > ctx->prec) { in mpd_qquantize() 6999 if (expdiff >= 0) { in mpd_qquantize() 7000 shift = expdiff; in mpd_qquantize() 7009 shift = -expdiff; in mpd_qquantize() [all …]
|
/aosp_15_r20/external/python/cpython2/Lib/ |
D | decimal.py | 1362 expdiff = self.adjusted() - other.adjusted() 1363 if not self or other._isinfinity() or expdiff <= -2: 1366 if expdiff <= context.prec: 1509 expdiff = self.adjusted() - other.adjusted() 1510 if expdiff >= context.prec + 1: 1513 if expdiff <= -2: 2354 expdiff = context.prec + 1 - len(ans._int) 2355 ans = _dec_from_triple(ans._sign, ans._int+'0'*expdiff, 2356 ans._exp-expdiff)
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/ |
D | _pydecimal.py | 1405 expdiff = self.adjusted() - other.adjusted() 1406 if not self or other._isinfinity() or expdiff <= -2: 1409 if expdiff <= context.prec: 1549 expdiff = self.adjusted() - other.adjusted() 1550 if expdiff >= context.prec + 1: 1553 if expdiff <= -2: 2480 expdiff = context.prec + 1 - len(ans._int) 2481 ans = _dec_from_triple(ans._sign, ans._int+'0'*expdiff, 2482 ans._exp-expdiff)
|
/aosp_15_r20/external/python/cpython3/Lib/ |
D | _pydecimal.py | 1405 expdiff = self.adjusted() - other.adjusted() 1406 if not self or other._isinfinity() or expdiff <= -2: 1409 if expdiff <= context.prec: 1549 expdiff = self.adjusted() - other.adjusted() 1550 if expdiff >= context.prec + 1: 1553 if expdiff <= -2: 2480 expdiff = context.prec + 1 - len(ans._int) 2481 ans = _dec_from_triple(ans._sign, ans._int+'0'*expdiff, 2482 ans._exp-expdiff)
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/ |
D | _pydecimal.py | 1405 expdiff = self.adjusted() - other.adjusted() 1406 if not self or other._isinfinity() or expdiff <= -2: 1409 if expdiff <= context.prec: 1549 expdiff = self.adjusted() - other.adjusted() 1550 if expdiff >= context.prec + 1: 1553 if expdiff <= -2: 2480 expdiff = context.prec + 1 - len(ans._int) 2481 ans = _dec_from_triple(ans._sign, ans._int+'0'*expdiff, 2482 ans._exp-expdiff)
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/ |
D | _pydecimal.py | 1405 expdiff = self.adjusted() - other.adjusted() 1406 if not self or other._isinfinity() or expdiff <= -2: 1409 if expdiff <= context.prec: 1549 expdiff = self.adjusted() - other.adjusted() 1550 if expdiff >= context.prec + 1: 1553 if expdiff <= -2: 2480 expdiff = context.prec + 1 - len(ans._int) 2481 ans = _dec_from_triple(ans._sign, ans._int+'0'*expdiff, 2482 ans._exp-expdiff)
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/ |
H A D | _pydecimal.py | 1405 expdiff = self.adjusted() - other.adjusted() 1406 if not self or other._isinfinity() or expdiff <= -2: 1409 if expdiff <= context.prec: 1549 expdiff = self.adjusted() - other.adjusted() 1550 if expdiff >= context.prec + 1: 1553 if expdiff <= -2: 2480 expdiff = context.prec + 1 - len(ans._int) 2481 ans = _dec_from_triple(ans._sign, ans._int+'0'*expdiff, 2482 ans._exp-expdiff)
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/ |
D | _pydecimal.py | 1405 expdiff = self.adjusted() - other.adjusted() 1406 if not self or other._isinfinity() or expdiff <= -2: 1409 if expdiff <= context.prec: 1549 expdiff = self.adjusted() - other.adjusted() 1550 if expdiff >= context.prec + 1: 1553 if expdiff <= -2: 2480 expdiff = context.prec + 1 - len(ans._int) 2481 ans = _dec_from_triple(ans._sign, ans._int+'0'*expdiff, 2482 ans._exp-expdiff)
|