Changeset 25803 in project
- Timestamp:
- 01/10/12 22:18:41 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wiki/eggref/4/numbers
r25800 r25803 138 138 === Version history 139 139 140 ; trunk: Division by inexact zero is no longer considered an error, but returns NaN or +Inf/-Inf. {{inexact->exact}} raises an error on NaN instead of returning 0 .140 ; trunk: Division by inexact zero is no longer considered an error, but returns NaN or +Inf/-Inf. {{inexact->exact}} raises an error on NaN instead of returning 0 (reported by Felix Winkelmann). Fix {{log}} so it doesn't erroneously fail on complex numbers. 141 141 ; 2.7: Fix several bugs ({{expt}}, {{integer?}}, {{rational?}}, {{<=}}, {{>=}}, {{eqv?}}, {{-}}) found by importing the number tests from Gauche and writing an extensive test for number syntax edge cases. Complete rewrite of number parser (it should fully conform to the R7RS superset of R5RS number syntax now). Dropped dependency on the regex egg. Improved precision of {{exact->inexact}} so it can handle more extreme numbers. Provide the {{nan?}}, {{finite?}} and {{infinite?}} predicates and {{integer-length}} procedure. 142 142 ; 2.6.1: Fix {{string->number}} so it raises an exception instead of crashing when passed a negative, zero or too large base (reported by Peter Hendrickson). Update test scripts so they exit with nonzero status in case of failed tests (reported by Mario Goulart)
Note: See TracChangeset
for help on using the changeset viewer.