fixes incorrect reduction of input list

This commit is contained in:
Rasmus Andersson 2019-01-04 15:58:59 -08:00
parent 768f8ec171
commit 49609c8394

View File

@ -242,11 +242,9 @@ def encodeFloat(f):
if c == "E":
c2 = s[:1]
if c2 == "-":
s = s[2:]
s = s[1:]
c = "E-"
elif c2 == "+":
s = s[2:]
else:
s = s[1:]
nibbles.append(realNibblesDict[c])
nibbles.append(0xf)