[Python-ideas] Adding a half-float (16-bit) type to PEP 3118 (and possibly the struct module?)

Nick Coghlan ncoghlan at gmail.com
Tue Apr 5 12:22:12 CEST 2011


On Tue, Apr 5, 2011 at 1:28 AM, Mark Dickinson <dickinsm at gmail.com> wrote:
> [Still OT] Confession time:  after asking this question, I had a
> sneaking suspicion that it was a stupid one.

>From watching yourself and others work on it over the years, I've come
to the conclusion that there are *no* stupid questions when it comes
to float rounding.

If anyone was looking for a field absolutely rife with answers that
are "simple, obvious and dead wrong", avoiding cumulative errors in
binary float manipulation would have to be a prime candidate.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia



More information about the Python-ideas mailing list