reader: fix negative floats
This commit is contained in:
parent
dda0df7a2b
commit
89f7e4c9e0
@ -90,7 +90,7 @@ class Reader(ProgressGetter):
|
||||
result *= 16**exp
|
||||
|
||||
if int(temp[0]) & 0x80:
|
||||
result += -1
|
||||
result *= -1
|
||||
|
||||
return result
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user