Home | History | Annotate | Download | only in python2.7

Lines Matching refs:exp

38        (?:E(?P<exp>[-+]?\d+))? # and optional exponent
137 exp = m.group('exp')
138 if exp:
139 exp = int(exp)
140 if exp >= 0:
141 numerator *= 10**exp
143 denominator *= 10**-exp
197 sign, digits, exp = dec.as_tuple()
201 if exp >= 0:
202 return cls(digits * 10 ** exp)
204 return cls(digits, 10 ** -exp)