[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14868: flfinite? +nan.0 returns #t
From: |
Göran Weinholt |
Subject: |
bug#14868: flfinite? +nan.0 returns #t |
Date: |
Mon, 15 Jul 2013 14:30:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
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 <address@hidden>
"Bring me back // to a story left untold // so we can write the ending."
-- Aly & Fila feat. Jwaydan - We Control The Sunlight
pgpvV648AfXgR.pgp
Description: PGP signature
- bug#14868: flfinite? +nan.0 returns #t,
Göran Weinholt <=