reader: fix negative floats

This commit is contained in:
2021-10-09 23:33:46 +02:00
parent dda0df7a2b
commit 89f7e4c9e0

View File

@@ -90,7 +90,7 @@ class Reader(ProgressGetter):
result *= 16**exp
if int(temp[0]) & 0x80:
result += -1
result *= -1
return result