[ENH] Case independent numbers
dwighth at ipa.net
Wed Mar 1 17:58:51 UTC 2000
Lex Spoon wrote:
> By the way, the standard seems to suggest that uppercase letters are to
> be used, and that the base should only go up to 36. (section 3.5.6)
> Lowercase 'e' is used to designate the exponent of a floating point
> number (as are 'd' and 'q'). It is illegal to specify an exponent for
> what is otherwise an integer--eg, 10e10 is illegal, while 10.0e10 is
> Anyway, if anyone is planning to go through cleaning this stuff up,
> maybe they should make it fit the standard.
10e10 is quite legal, logically consistent, and mathematically well
defined in Squeak -- adding an arbitrary limitation to Squeak that makes
this illegal, just to make it "fit" the ANSI standard, seems to be a
step backward in this department, IMNSHO.
More information about the Squeak-dev