[ENH] floatGlobals-ls

Andrew Tween amtween at hotmail.com
Fri Sep 17 09:41:10 UTC 2004


> If [-(x+y)] is not proper Smalltalk code (and I'm sympathetic to the
> idea, simply to keep the grammer small), then I suggest we tweak the
> parser in a different way and have it recognize [-Infinity] as a single
> literal, just the way it does with [-3] or [-99.44].  This is also
> consistent with the Smalltalk strategy of having tremendously
> complicated literals in order to keep to keep the syntax simple.

Another option is to change the printString for [Infinity negated] to be
'NegativeInfinity', and to create a NegativeInfinity global.
Which is consistent with the naming of the class variables in Float


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 08/07/2004



More information about the Squeak-dev mailing list