Branch: Tag:

2011-04-09

2011-04-09 22:11:09 by Martin Stjernholm <mast@lysator.liu.se>

Expose Int.Inf for typing purposes.

94:    return value>>bits;   }    - protected class Inf { + //! The type of @[Int.inf]. Do not create more instances of this. + class Inf {       protected constant neg = 0;    protected int __hash() { return 17; }
181:      protected Inf ninf = NInf();    - //! An infinite number. + //! An object that behaves like positive infinity.   Inf inf = Inf();