From: "Göran Weinholt" <goran@weinholt.se>
To: 14868@debbugs.gnu.org
Subject: bug#14868: flfinite? +nan.0 returns #t
Date: Mon, 15 Jul 2013 14:30:38 +0200 [thread overview]
Message-ID: <87vc4c6m4x.fsf@industria.weinholt.se> (raw)
[-- Attachment #1: Type: text/plain, Size: 484 bytes --]
Hello schemers,
the flfinite? procedure from (rnrs) is wrong for +nan.0:
scheme@(guile-user)> (import (rnrs))
scheme@(guile-user)> (flfinite? +nan.0)
$1 = #t
The r6rs-lib says this: "flfinite? tests whether it is not an infinity
and not a NaN". Tested with Guile 2.0.9.22-7e816-dirty.
Regards,
--
Göran Weinholt <goran@weinholt.se>
"Bring me back // to a story left untold // so we can write the ending."
-- Aly & Fila feat. Jwaydan - We Control The Sunlight
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
next reply other threads:[~2013-07-15 12:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-15 12:30 Göran Weinholt [this message]
2013-07-16 8:05 ` bug#14868: flfinite? +nan.0 returns #t Mark H Weaver
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=87vc4c6m4x.fsf@industria.weinholt.se \
--to=goran@weinholt.se \
--cc=14868@debbugs.gnu.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).