[Python-Dev] Re: [Prothon-user] Re: Decimal type question [Prothon] (was: Re: Re: Decimal type question [Prothon])

Greg Ewing greg at cosc.canterbury.ac.nz
Tue Aug 10 04:11:50 CEST 2004


> How about a basic built-in numeric default type called Decimal with all the
> default numeric constant formats (123, 123.0, & 123e0) and a separate
> binary double hardware type called Float with the constant format of 0f0,
> 1f0, -1.3f-34, etc. where the letter "f" replaces the letter "e"?

Since the base is the important distinction between these,
if the decimal one is to be called Decimal, the binary one
should be called Binary. The exponent character should be
'b' to reinforce this.

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