fixes incorrect reduction of input list
This commit is contained in:
parent
768f8ec171
commit
49609c8394
@ -242,11 +242,9 @@ def encodeFloat(f):
|
|||||||
if c == "E":
|
if c == "E":
|
||||||
c2 = s[:1]
|
c2 = s[:1]
|
||||||
if c2 == "-":
|
if c2 == "-":
|
||||||
s = s[2:]
|
s = s[1:]
|
||||||
c = "E-"
|
c = "E-"
|
||||||
elif c2 == "+":
|
elif c2 == "+":
|
||||||
s = s[2:]
|
|
||||||
else:
|
|
||||||
s = s[1:]
|
s = s[1:]
|
||||||
nibbles.append(realNibblesDict[c])
|
nibbles.append(realNibblesDict[c])
|
||||||
nibbles.append(0xf)
|
nibbles.append(0xf)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user