Lines Matching defs:clamp
445 ['prec', 'Emin', 'Emax', 'capitals', 'clamp', 'rounding', 'flags', 'traps']
1663 # maximum length of payload is precision if clamp=0,
1664 # precision-1 if clamp=1.
1665 max_payload_len = context.prec - context.clamp
1690 # Emax if clamp==0, and between Etiny and Etop if clamp==1.
1694 exp_max = [context.Emax, Etop][context.clamp]
1754 # fold down if clamp == 1 and self has too few digits
1755 if context.clamp == 1 and self._exp > Etop:
2538 exp_max = [context.Emax, context.Etop()][context.clamp]
3899 clamp - If 1, change exponents if too high (Default 0)
3903 capitals=None, clamp=None, flags=None, traps=None,
3917 self.clamp = clamp if clamp is not None else dc.clamp
3972 elif name == 'clamp':
3997 self.capitals, self.clamp, flags, traps))
4004 'clamp=%(clamp)d'
4025 self.capitals, self.clamp, self.flags, self.traps,
4032 self.capitals, self.clamp,
4120 if d._isnan() and len(d._int) > self.prec - self.clamp:
6095 clamp=0