Lines Matching refs:_dec_from_triple
220 ans = _dec_from_triple(args[0]._sign, args[0]._int, 'n', True)
350 return _dec_from_triple(sign, '9'*context.prec,
355 return _dec_from_triple(sign, '9'*context.prec,
692 result = _dec_from_triple(sign, str(n*5**k), -k)
1159 ans = _dec_from_triple(sign, '0', exp)
1181 ans = _dec_from_triple(negativezero, '0', exp)
1267 ans = _dec_from_triple(resultsign, '0', resultexp)
1274 ans = _dec_from_triple(resultsign, other._int, resultexp)
1278 ans = _dec_from_triple(resultsign, self._int, resultexp)
1285 ans = _dec_from_triple(resultsign, str(op1.int * op2.int), resultexp)
1315 return _dec_from_triple(sign, '0', context.Etiny())
1347 ans = _dec_from_triple(sign, str(coeff), exp)
1364 return (_dec_from_triple(sign, '0', 0),
1375 return (_dec_from_triple(sign, str(q), 0),
1376 _dec_from_triple(self._sign, str(r), ideal_exp))
1505 ans = _dec_from_triple(self._sign, '0', ideal_exponent)
1542 ans = _dec_from_triple(sign, str(r), ideal_exponent)
1635 return _dec_from_triple(self._sign, payload, self._exp, True)
1665 return _dec_from_triple(self._sign, '0', new_exp)
1687 self = _dec_from_triple(self._sign, '1', exp_min-1)
1702 ans = _dec_from_triple(self._sign, coeff, exp_min)
1725 return _dec_from_triple(self._sign, self_padded, Etop)
1844 product = _dec_from_triple(self._sign ^ other._sign,
1933 return _dec_from_triple(sign, str(base), 0)
2024 return _dec_from_triple(0, '1' + '0'*zeros, exponent-zeros)
2108 return _dec_from_triple(0, str(xc), xe)
2170 return _dec_from_triple(0, str_xc+'0'*zeros, xe-zeros)
2236 return _dec_from_triple(result_sign, '0', 0)
2245 return _dec_from_triple(result_sign, '0', 0)
2272 return _dec_from_triple(result_sign, '1'+'0'*-exp, exp)
2281 return _dec_from_triple(result_sign, '0', 0)
2300 ans = _dec_from_triple(result_sign, '1', context.Emax+1)
2306 ans = _dec_from_triple(result_sign, '1', Etiny-1)
2313 ans = _dec_from_triple(1, ans._int, ans._exp)
2335 ans = _dec_from_triple(result_sign, str(coeff), exp)
2355 ans = _dec_from_triple(ans._sign, ans._int+'0'*expdiff,
2411 return _dec_from_triple(dup._sign, '0', 0)
2418 return _dec_from_triple(dup._sign, dup._int[:end], exp)
2459 ans = _dec_from_triple(self._sign, '0', exp._exp)
2520 return _dec_from_triple(self._sign, '0', exp)
2524 return _dec_from_triple(self._sign,
2531 self = _dec_from_triple(self._sign, '1', exp-1)
2538 return _dec_from_triple(self._sign, coeff, exp)
2581 return _dec_from_triple(self._sign, '0', 0)
2626 ans = _dec_from_triple(self._sign, '0', self._exp // 2)
2700 ans = _dec_from_triple(0, str(n), e)
2915 return _dec_from_triple(0, self._int, self._exp, self._is_special)
2920 return _dec_from_triple(0, self._int, self._exp, self._is_special)
2922 return _dec_from_triple(1, self._int, self._exp, self._is_special)
2927 return _dec_from_triple(other._sign, self._int,
2967 ans = _dec_from_triple(0, '1', context.Emax+1)
2970 ans = _dec_from_triple(0, '1', context.Etiny()-1)
2973 ans = _dec_from_triple(0, '1' + '0'*(p-1) + '1', -p)
2976 ans = _dec_from_triple(0, '9'*(p+1), -p-1)
2994 ans = _dec_from_triple(0, str(coeff), exp)
3128 ans = _dec_from_triple(int(coeff<0), str(abs(coeff)), -places)
3209 ans = _dec_from_triple(int(coeff<0), str(abs(coeff)), -places)
3289 return _dec_from_triple(0, result.lstrip('0') or '0', 0)
3295 return self.logical_xor(_dec_from_triple(0,'1'*context.prec,0),
3313 return _dec_from_triple(0, result.lstrip('0') or '0', 0)
3330 return _dec_from_triple(0, result.lstrip('0') or '0', 0)
3404 return _dec_from_triple(0, '9'*context.prec, context.Etop())
3412 return self.__sub__(_dec_from_triple(0, '1', context.Etiny()-1),
3427 return _dec_from_triple(1, '9'*context.prec, context.Etop())
3435 return self.__add__(_dec_from_triple(0, '1', context.Etiny()-1),
3560 return _dec_from_triple(self._sign,
3584 d = _dec_from_triple(self._sign, self._int, self._exp + int(other))
3623 return _dec_from_triple(self._sign,
3676 self = _dec_from_triple(self._sign, self._int, self._exp+2)
3724 def _dec_from_triple(sign, coefficient, exponent, special=False): function