[issue4114] struct returns incorrect 4 byte float
STINNER Victor
report at bugs.python.org
Tue Oct 14 00:27:03 CEST 2008
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
@loewis: Yes, the initial problem is about unpack("f", bytes). It's
not possible to exact original 32 bits float value because Python
forces a conversion to 64 bits float. The behaviour should be
documented. Don't hesitate to reopen the bug if you consider that
something should be fixed in Python.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4114>
_______________________________________
More information about the Python-bugs-list
mailing list