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