[Python-Dev] Expert floats
Shane Hathaway
shane at zope.com
Tue Mar 30 23:18:27 EST 2004
On 03/30/04 22:49, Josiah Carlson wrote:
>>>Python uses the 8-byte FP, not the (arguably worthless) 4-bit FP.
>>
>> ^^^^^
>>
>>Yes, most people have hardware a little more sophisticated
>>than an Intel 4004 these days. :-)
>
>
> Oops, I slipped. I meant 4-byte. My bad. ;)
ROFL! I can just imagine:
bit 0 - mantissa (lower bit)
bit 1 - mantissa (upper bit)
bit 2 - exponent
bit 3 - sign
Now who's complaining about rounding errors?
Shane
More information about the Python-Dev
mailing list