Opened 4 years ago
Closed 4 years ago
#1730 closed defect (fixed)
scheme#numerator and scheme#denominator call unbound procedure for non-finite flonums
Reported by: | Diego | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 5.3 |
Component: | core libraries | Version: | 5.2.0 |
Keywords: | Cc: | ||
Estimated difficulty: | trivial |
Description
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.
Change History (2)
comment:1 Changed 4 years ago by
Milestone: | someday → 5.3 |
---|
comment:2 Changed 4 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Patch by Peter (https://lists.nongnu.org/archive/html/chicken-hackers/2021-03/msg00000.html) has been pushed.