[ENH] Case independent numbers

Dan Ingalls Dan.Ingalls at disney.com
Mon Feb 28 17:55:10 UTC 2000


>Hi,
>
>who of you really would expect that 16r1e5 equals 1048576 while 16r1E5 is
>485? If not too many, I propose to make hex numbers case independent, and
>exponent notation, too. 

I have a problem with this, Bert.
The way it is, there is a simple syntactic rule for numbers.
Your changes imply a rule that is not syntactic, but value-dependent:

16r1E5 = 485, but
14r1E5 = 537824

	- Dan






More information about the Squeak-dev mailing list