Mark Wiebe <mwwi...@gmail.com> added the comment:

Taking a look at the patch, I see you're using the single -> half conversion 
routine from NumPy. This has the double rounding problem when converting double 
-> float -> half, so it would be better to use the double -> half routine. I 
implemented it with 64-bit unsigned ints, so if there are platforms not 
supporting 64-bit ints, something else such as using the 32-bit routine will 
have to be done there.

----------
nosy: +mwiebe

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11734>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to