[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Minor CLISP bug #2



Hello again,

I like CLISP's facility for setting the precision of floating-point
numbers.  There does appear to be a small glitch, however:

> (lisp-implementation-version)
"1996-07-22 (July 1996)"
> (setf (long-float-digits) 100)
100
> (/ pi 2.)
1.5707963267948966192313216916397514421L0
> (asin 3.4L0)
#C(1.5707964 -1.894559012672297804279889265261663451844L0)
;;; expected both realpart and imagpart to have the specified
;;; long-float precision:
;;; #C(1.5707963267948966192313216916397514421L0
          -1.894559012672297804279889265261663451844L0)

And besides, it seems that 1.570796326... should have been printed as
1.5707963, not 1.5707964.

Thanks!


Mark A. Thomas
thommark@access.digex.net