[issue11734] Add half-float (16-bit) support to struct module
Eli Stevens
report at bugs.python.org
Tue Apr 5 09:42:42 CEST 2011
Eli Stevens <wickedgrey at gmail.com> added the comment:
More questions:
The current _PyFloat_Pack4 doesn't round to even:
fbits = (unsigned int)(f + 0.5); /* Round */
Is the mismatch going to be a problem? Should I change the _PyFloat_Pack4 implementation while I'm in there?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11734>
_______________________________________
More information about the Python-bugs-list
mailing list