Raymond Toy writes:
>
> A numerical evaluation bug:
>
> (C10) exp(5);
>
> 5
> (D10) %E
> (C11) ev(%,numer);
>
> (D11) 148.41316
> (C12) exp(5.0);
>
> (D12) 148.4131591025766
>
> I think D11 should produce an answer like D12.
Version 5.5 using gcl gets it correct:
GCL (GNU Common Lisp) Version(2.3.8) Wed Mar 28 10:47:31 EST 2001
Licensed under GNU Library General Public License
Contains Enhancements by W. Schelter
Maxima 5.5 Wed Mar 28 09:31:56 EST 2001 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) exp(5);
5
(D1) %E
(C2) d1,numer;
(D2) 148.4131591025766
(C3) exp(5.0);
(D3) 148.4131591025766
(C4) exp(5);
5
(D4) %E
(C5) ev(%,numer);
(D5) 148.4131591025766
So does Schelter's windows version. But Not 5.6. with cmulisp or clisp.
Osman