IBM integer and double formats
Mark Dickinson
dickinsm at gmail.com
Mon Nov 10 15:26:49 EST 2008
On Nov 10, 8:16 pm, Mark Dickinson <dicki... at gmail.com> wrote:
> and how to handle out-of-range floats coming back (if I recall
> correctly, the IBM format allows a wider range of exponents
> than IEEE).
>
Whoops---wrong way around. It looks like it's IEEE that has the
larger exponent range. DBL_MAX is around 2.**252 for IBM and
2.**1024 for IEEE.
Sorry.
Mark
More information about the Python-list
mailing list