Re: n accuracy



On 30 May 2007 05:10:07 -0700, fireblade <slobodan.blazeski@xxxxxxxxx> wrote:

it gets converted to ..17. it appears that single-presision IEEE
754 numbers are not able to represent that decimal value
correctly. so i wonder how did OP get that result. maybe
implementation with some other FP numbers..

It's LW 5.0.1 result with type-of single-float

Note that the CLHS says that "implementations of EXPT are permitted to
use different algorithms for the cases of a power-number of type
RATIONAL and a power-number of type FLOAT." There'll likely be a
difference between (EXPT 1) and (EXPT 1s0).

--

Lisp is not dead, it just smells funny.

Real email: (replace (subseq "spamtrap@xxxxxxxxxx" 5) "edi")
.