Home
last modified time | relevance | path

Searched refs:_dec_from_triple (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Lib/
D_pydecimal.py252 ans = _dec_from_triple(args[0]._sign, args[0]._int, 'n', True)
382 return _dec_from_triple(sign, '9'*context.prec,
387 return _dec_from_triple(sign, '9'*context.prec,
711 result = _dec_from_triple(sign, coeff, -k)
1192 ans = _dec_from_triple(sign, '0', exp)
1214 ans = _dec_from_triple(negativezero, '0', exp)
1300 ans = _dec_from_triple(resultsign, '0', resultexp)
1307 ans = _dec_from_triple(resultsign, other._int, resultexp)
1311 ans = _dec_from_triple(resultsign, self._int, resultexp)
1318 ans = _dec_from_triple(resultsign, str(op1.int * op2.int), resultexp)
[all …]
/third_party/python/Modules/_decimal/tests/
Ddeccheck.py54 from _pydecimal import _dec_from_triple
409 return _dec_from_triple(0, '1', dec._exp+len(dec._int)-prec)
440 x = _dec_from_triple(exact._sign, '10', context.p.Emax)
443 y = _dec_from_triple(rounded._sign, '10', context.p.Emax)