Lines Matching refs:adjusted

346     operation is subnormal (that is, its adjusted exponent is less than
356 This occurs and signals overflow if the adjusted exponent of a result
395 adjusted exponent of the result would be smaller (more negative) than
858 self_adjusted = self.adjusted()
859 other_adjusted = other.adjusted()
1405 expdiff = self.adjusted() - other.adjusted()
1549 expdiff = self.adjusted() - other.adjusted()
1703 # equal to max(self.adjusted()-context.prec+1, Etiny)
1706 # overflow: exp_min > Etop iff self.adjusted() > Emax
2027 if modulo.adjusted() >= context.prec:
2400 # compute adjusted exponent of self
2401 self_adj = self.adjusted()
2421 bound = self._log10_exp_bound() + other.adjusted()
2578 self_adjusted = self.adjusted()
2587 if ans.adjusted() > context.Emax:
2595 if ans and ans.adjusted() < context.Emin:
2643 # too many digits; round and lose data. If self.adjusted() <
2670 ans = self._rescale(self.adjusted()+1-places, rounding)
2671 # it can happen that the rescale alters the adjusted exponent;
2675 if ans.adjusted() != self.adjusted():
2676 ans = ans._rescale(ans.adjusted()+1-places, rounding)
2917 def adjusted(self):
2918 """Return the adjusted exponent of self"""
3074 adj = self.adjusted()
3077 # of adjusted exponents---for example, -29 <= adj <= 10 for
3151 return context.Emin <= self.adjusted()
3171 return self.adjusted() < context.Emin
3178 """Compute a lower bound for the adjusted exponent of self.ln().
3253 """Compute a lower bound for the adjusted exponent of self.log10().
3357 # otherwise, simply return the adjusted exponent of self, as a
3360 ans = Decimal(self.adjusted())
3588 elif ans.adjusted() < context.Emin:
5666 # Let exp = min(tmp.exp - 1, tmp.adjusted() - precision - 1).
5955 # compute log(10) with extra precision = adjusted exponent of c*10**e