infinity comparison
Travis Griggs
tgriggs at key.net
Fri Sep 17 18:36:35 UTC 2004
On Sep 17, 2004, at 11:16, John M McIntosh wrote:
> Seems to me if I recall VW had a package that introduced the concept
> of
> infinity, but
> also a really large number but not infinity, and a really small
> number,
> but not zero for both
> positive and negative...
VW has a 'AT MetaNumerics'. It dates back to OW4.0, at least. It has
NotANumber, SomeNumber (coercion wrapper), Complex, Infinity and
Infintessimal, both of which keep track of their sign. However, it
doesn't interoperate with the base system really. IOW, with it loaded,
you don't start getting Infinity objects when an fp computation
produces an fp INF. -1 sqrt does not automatically make a Complex
object. So on and so forth.
--
Travis Griggs
Objologist
"It had better be a pretty good meeting, to be better than no meeting
at all" -- Boyd K Packer
-----------------------------------------
DISCLAIMER: This email is bound by the terms and conditions described at
http://www.key.net/disclaimer.htm
More information about the Squeak-dev
mailing list
|