Changeset 25913 in project


Ignore:
Timestamp:
02/15/12 22:19:15 (9 years ago)
Author:
sjamaan
Message:

Update numbers changelog; forgot to add that only trunk currently contains exactness fix, and needs 4.7.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/numbers

    r25803 r25913  
    138138=== Version history
    139139
    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.
     140; trunk: Correct handling of exactness prefix (requires recent Chicken to work, at least 4.7.4). 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.
    141141; 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.
    142142; 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.