Re: n accuracy
- From: Edi Weitz <spamtrap@xxxxxxxxxx>
- Date: Wed, 30 May 2007 14:29:45 +0200
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")
.
- References:
- n accuracy
- From: fireblade
- Re: n accuracy
- From: Edi Weitz
- Re: n accuracy
- From: Alex Mizrahi
- Re: n accuracy
- From: Barry Margolin
- Re: n accuracy
- From: Alex Mizrahi
- Re: n accuracy
- From: fireblade
- n accuracy
- Prev by Date: Re: n accuracy
- Next by Date: Re: Dumbing down?
- Previous by thread: Re: n accuracy
- Next by thread: Re: n accuracy
- Index(es):