mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-09-07 11:21:14 +02:00
@@ -143,7 +143,7 @@ class exponential:
|
||||
skipexp1=None,
|
||||
nomantissaexp=r"{10^{%s}}",
|
||||
minusnomantissaexp=r"{-10^{%s}}",
|
||||
mantissamin=tick.rational((1, 1)), mantissamax=tick.rational((10L, 1)),
|
||||
mantissamin=tick.rational((1, 1)), mantissamax=tick.rational((10, 1)),
|
||||
skipmantissa1=0, skipallmantissa1=1,
|
||||
mantissatexter=decimal()):
|
||||
r"""initializes the instance
|
||||
|
||||
@@ -51,7 +51,7 @@ class rational:
|
||||
if autolong:
|
||||
self.denom = 10 ** len(commaparts[1])
|
||||
else:
|
||||
self.denom = 10L ** len(commaparts[1])
|
||||
self.denom = 10 ** len(commaparts[1])
|
||||
neg = len(commaparts[0]) and commaparts[0][0] == "-"
|
||||
if neg:
|
||||
commaparts[0] = commaparts[0][1:]
|
||||
|
||||
Reference in New Issue
Block a user