[ENH] floatGlobals-ls

Lex Spoon lex at cc.gatech.edu
Sun Sep 19 17:08:02 UTC 2004


This version uses Andrew Tween's excellent idea of using
'NegativeInfinity' for the printString of [Float infinity negated].  Now
all Float's print out to something that is recompilable.

The only issue I can think of is that it adds three new global
variables, but these seem like nice ones to have around, and these
concepts actually are global to all code.

"Change Set:		floatGlobals-ls
Date:			17 September 2004
Author:			Lex Spoon

Adds globals variables Infinity, NegativeInfinity, and NaN.  This makes
all floats print out to something that is re-compilable"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: floatGlobals-ls.cs.gz
Type: application/octet-stream
Size: 2327 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040919/bb21b5dd/floatGlobals-ls.cs.obj


More information about the Squeak-dev mailing list