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

[no subject]



    Date: 18 JUL 1978 0909-EDT
    From: KLE at MIT-MC (Edward Jay Kleban)
    To: (BUG LISP) at MIT-MC

    Foo!  How come (* 15.0 3.4) evaluates to 51.0 and (* 3 3.4 5)
    evaluates to 51.0000005 ??  I know
    lisp is supposed to be a great language with neat huristics
    and everything, but not even fortran's that bad at floating point.
You are a victim of floating-point round-off error.
I actually tried it on the local FORTRAN.  It printed both
results  as 50.9999995000.