diff options
| author | comex <comexk@gmail.com> | 2009-02-17 23:46:31 -0500 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2009-02-17 23:46:31 -0500 |
| commit | 5089b4a5cd8b40a02187b4969bd97fba81f9d8f1 (patch) | |
| tree | 6bf871dfc15f02975e49b00997432ee3c4ad04c6 /ethyl.py | |
| parent | 8504fb221559b57e38650be3a88bfafa02bf0998 (diff) | |
Helpfulness.
Diffstat (limited to '')
| -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 |
