chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Numbers weirdness


From: Peter Bex
Subject: Re: [Chicken-users] Numbers weirdness
Date: Fri, 1 Apr 2016 18:53:18 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Apr 01, 2016 at 12:48:54PM -0400, John Cowan wrote:
> Trying (log2 (expt 2 251)) in Racket, which prints 64-bit floats
> accurately (unlike Chicken, which depends on C to do it)

That's a complete mischaracterisation.  First, it depends on your
definition of "accurately", and secondly, you can tell CHICKEN to
change the print precision.  See my other mail, which shows that
Racket is _also_ truncating the value, just after more digits than
CHICKEN is doing so.

Cheers,
Peter

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]