[Python-Dev] Re: Decimal type question [Prothon]
Greg Ewing
greg at cosc.canterbury.ac.nz
Tue Aug 10 03:52:30 CEST 2004
> Worse still is the fact that the exponent in the e notation is a
> decimal exponent, but the type used is binary!
Indeed. If someone really wants a binary float, I think they
should have to write it in hex. If they can't cope with that,
they've no business using binary floats.
<0xd37c*pow(2,-0x10) wink>,
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg at cosc.canterbury.ac.nz +--------------------------------------+
More information about the Python-Dev
mailing list