diff options
Diffstat (limited to 'ethyl.py')
| -rw-r--r-- | ethyl.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -356,3 +356,5 @@ def put_opt(var, flags, bit, size, item_type=None): else: raise Exception('unhandled') return ret, flags +def i2f(int): + return struct.unpack('>f', struct.pack('>I', int))[0]
\ No newline at end of file |
