Package: guile-2.0-doc
Version: 2.0.9+1-1
Severity: minor

Section 6.6.2.2 "Integers" of the guile-2.0 info document contains
this gem:

          (integer? +inf.0)
          => #t

Actual guile-2.0 behaviour:

scheme@(guile-user)> (integer? +inf.0)
$16 = #f

The doc example matches the behaviour of guile-1.8, which classifies
+inf.0 and -inf.0 as integers, and +nan.0 as rational but not integer.
guile-2.0 follows R6RS in treating all three of these values as real
but not rational.  (Mathematically, infinities are not real, and NaN is,
as the acronym says, not a number.)

-zefram


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to