[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
#1730: scheme#numerator and scheme#denominator call unbound procedure fo
From: |
Chicken Trac |
Subject: |
#1730: scheme#numerator and scheme#denominator call unbound procedure for non-finite flonums |
Date: |
Wed, 03 Mar 2021 04:39:09 -0000 |
#1730: scheme#numerator and scheme#denominator call unbound procedure for non-
finite flonums
--------------------------------+----------------------------
Reporter: dieggsy | Type: defect
Status: new | Priority: major
Milestone: someday | Component: core libraries
Version: 5.2.0 | Keywords:
Estimated difficulty: trivial |
--------------------------------+----------------------------
Example:
{{{
#;1> (numerator +nan.0)
Error: unbound variable: bad-inexact
Call history:
<syntax> (numerator +nan.0)
<eval> (numerator +nan.0) <--
#;1> (denominator +nan.0)
Error: unbound variable: bad-inexact
Call history:
<syntax> (denominator +nan.0)
<eval> (denominator +nan.0) <--
}}}
The issue seems evident in the definitions of these procedures in
library.scm: the procedure {{{bad-inexact}}} is used, but isn't referenced
or defined anywhere else.
--
Ticket URL: <https://bugs.call-cc.org/ticket/1730>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- #1730: scheme#numerator and scheme#denominator call unbound procedure for non-finite flonums,
Chicken Trac <=