Mark Dickinson <[email protected]> added the comment:
The '1.06...e-314' number in the gdb output is interesting: it indicates a
byte-ordering issue, though maybe that issue is only pertinent to gdb itself.
On a little-endian machine:
>>> struct.pack('<d', 1.0604798301039825e-314)
'\x00\x00\xf0\x7f\x00\x00\x00\x00'
>>> struct.pack('<d', float('inf'))
'\x00\x00\x00\x00\x00\x00\xf0\x7f'
Same bytes, different order. This may indicate some kind of float / double
mismatch somewhere, or a byte-ordering issue.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue12589>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com