[issue11734] Add half-float (16-bit) support to struct module

Raymond Hettinger report at bugs.python.org
Tue Aug 30 00:54:01 EDT 2016


Raymond Hettinger added the comment:

In the docs for note 7, consider expanding the text to describe what a half-float is (1-bit sign, 10 bit significand, 5 bit exponent) and its allowable range.  This wasn't necessary for codes "f" and "d" since they have well-known C equivalents, but in this case some elaboration is needed.  Also consider  including a link to the wikipedia article and perhaps to IEEE 754-2008.

Otherwise, he patch looks complete and passes the test suite.  I think it is ready to apply.

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue11734>
_______________________________________


More information about the Python-bugs-list mailing list