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

Eli Stevens report at bugs.python.org
Mon Apr 4 23:36:24 CEST 2011


Eli Stevens <wickedgrey at gmail.com> added the comment:

There seems to be some disagreement about the double-rounding issue; Mark Dickinson posted on python-ideas that he doesn't think that there is one.  If possible, I think that removing code paths that aren't needed are generally a good thing, especially if I'm going to have to add support for non-IEEE floats.

I'll start working on the isnan/isinf/frexp/ldexp implementation for the cases where either we don't have a UINT64 type, or doubles aren't IEEE.  Given my current schedule, I don't think that I'll have this done today; hopefully tomorrow morning.  :)

----------

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


More information about the Python-bugs-list mailing list