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

Lines Matching refs:sign

24 # \1 leading sign or empty
36 """Return (sign, intpart, fraction, expo) or raise an exception:
37 sign is '+' or '-'
43 sign, intpart, fraction, exppart = res.group(1,2,3,4)
44 if sign == '+': sign = ''
48 return sign, intpart, fraction, expo
96 sign, intpart, fraction, expo = extract(x)
103 if digs > 0: return sign + intpart + '.' + fraction
104 else: return sign + intpart
111 sign, intpart, fraction, expo = extract(x)
130 s = sign + intpart