Arithmetics

Rolf-Thomas Happe rthappe@mathematik.uni-freiburg.de
Sat, 11 Apr 1998 18:29:28 +0200 (MET DST)


The Clean language report (1.1) doesn't seem to say anything on 
arithmetical limitations and exceptions.  And accordingly, 
Clean 1.1 on a SPARCstation 4 running SunOS 5.5 freely computes 

  Start = (-1 mod 3, -1 rem 3, 
            2147483647+1, 4294967295+1, 
            2.4 + sqrt (-1.3), 1.0 / ln 0.0)

  --> (-1,-1,-2147483648,0,NaN,-0)

Since Clean is announced as general purpose programming language, 
I suppose that both the (arithmetically) deficient specification 
and its broken implementation will be improved some day? (Or has 
it already been done?)

rthappe