reader: fix negative floats

This commit is contained in:
julixau committed 2021-10-09 23:33:46 +02:00
1 parent dda0df7a2b
commit 89f7e4c9e0
1 file changed
+1 -1
+1 -1
View File
@@ -90,7 +90,7 @@ class Reader(ProgressGetter):
result *= 16**exp
if int(temp[0]) & 0x80:
result += -1
result *= -1
return result