Searched refs:ideal_exp (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | mpdecimal.c | 3665 mpd_ssize_t ideal_exp; in _mpd_qdiv() local 3696 ideal_exp = a->exp - b->exp; in _mpd_qdiv() 3697 exp = ideal_exp - shift; in _mpd_qdiv() 3756 shift = ideal_exp - exp; in _mpd_qdiv() 3793 mpd_ssize_t ideal_exp, expdiff, shift; in _mpd_qdivmod() local 3798 ideal_exp = (a->exp > b->exp) ? b->exp : a->exp; in _mpd_qdivmod() 3803 r->exp = ideal_exp; in _mpd_qdivmod() 3816 r->exp = ideal_exp; in _mpd_qdivmod() 3916 r->exp = ideal_exp; in _mpd_qdivmod() 7582 mpd_ssize_t ideal_exp, shift; in _mpd_qinvroot() local [all …]
|
/external/python/cpython2/Lib/ |
D | decimal.py | 1342 ideal_exp = self._exp - other._exp 1343 while exp < ideal_exp and coeff % 10 == 0: 1358 ideal_exp = self._exp 1360 ideal_exp = min(self._exp, other._exp) 1365 self._rescale(ideal_exp, context.rounding)) 1376 _dec_from_triple(self._sign, str(r), ideal_exp))
|
/external/python/cpython3/Lib/ |
D | _pydecimal.py | 1371 ideal_exp = self._exp - other._exp 1372 while exp < ideal_exp and coeff % 10 == 0: 1387 ideal_exp = self._exp 1389 ideal_exp = min(self._exp, other._exp) 1394 self._rescale(ideal_exp, context.rounding)) 1405 _dec_from_triple(self._sign, str(r), ideal_exp))
|