unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: ludo@chbouib.org (Ludovic Courtès)
Subject: Re: Bug with large fractions
Date: Tue, 09 Jan 2007 20:52:44 +0100	[thread overview]
Message-ID: <87hcv07zar.fsf@chbouib.org> (raw)
In-Reply-To: 87irfi7bso.fsf@zip.com.au

Hi,

Kevin Ryde <user42@zip.com.au> writes:

> ludo@chbouib.org (Ludovic Courtès) writes:
>>
>>   guile> 123123123123123123.12
>>   123123123123123000.0
>
> I think it's been truncated to 53 bits for the mantissa of a double.

Right, the value can't actually fit into a double and reals in Guile
_are_ double (it took me a while to get it...  ;-)).

Thanks,
Ludovic.




_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


  reply	other threads:[~2007-01-09 19:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-06 12:05 Bug with large fractions Ludovic Courtès
2007-01-07 21:43 ` Kevin Ryde
2007-01-09 19:52   ` Ludovic Courtès [this message]
2007-01-09 19:54 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hcv07zar.fsf@chbouib.org \
    --to=ludo@chbouib.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).