Changeset 26285 in project


Ignore:
Timestamp:
03/29/12 21:52:34 (9 years ago)
Author:
sjamaan
Message:

Update numbers changelog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/numbers

    r26230 r26285  
    147147=== Version history
    148148
    149 ; 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.  Add types database for scrutinizer (Only in Chicken 4.7.4 and later).
     149; 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.  Generalize {{asin}} and {{acos}} so they can return complex numbers. Fix {{<=}} and {{>=}} so they work when given a {{nan}} argument in rest position. Various fixes for code that expected inexact numbers so it calls {{exact->inexact}} before. Add types database for scrutinizer (Only in Chicken 4.7.4 and later).
    150150; 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.
    151151; 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.