[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #871: INTEGER? gives wrong answer on funky floats
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #871: INTEGER? gives wrong answer on funky floats |
Date: |
Tue, 19 Jun 2012 04:46:36 -0000 |
#871: INTEGER? gives wrong answer on funky floats
------------------------+---------------------------------------------------
Reporter: johnwcowan | Owner:
Type: defect | Status: new
Priority: major | Milestone: 4.8.0
Component: unknown | Version: 4.7.x
Keywords: |
------------------------+---------------------------------------------------
On linux-unix-gnu-x86, version 3.7.5 (rev 61f2799):
{{{
(integer? +inf.0) => #t ; wrong!
(integer? -inf.0) => #t ; wrong!
(integer? +nan.0) => #f ; right!
}}}
This problem is visible either with or without the numbers egg. There may
be a relationship with closed bug #791.
--
Ticket URL: <http://bugs.call-cc.org/ticket/871>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #871: INTEGER? gives wrong answer on funky floats,
Chicken Trac <=