The March snapshot has been tagged and binaries will be uploaded soon. The main changes are: * run-program accepts :element-type to specify the element type for the streams that are created. * Lisp-unit (a Lisp framework for testing) has been added as a contrib. Use (require :lisp-unit) to compile and load it. Unlike asdf and defsystem, precompild fasls are not included. * Type derivation for log was not consistent with the values actually returned by log. This is corrected now. * Double-double floats were missing the constants describing various limits such as least-positive-double-double-float. These are added now. * When reading very small floats values, the reader will round to least-positive float if possible. Otherwise an error is still signaled. Ray
Raymond Toy <toy.raymond@gmail.com> writes:
The March snapshot has been tagged and binaries will be uploaded soon.
The main changes are: * Type derivation for log was not consistent with the values actually returned by log. This is corrected now. I'm not sure that this is right:
(defun foo (x) (log (the (double-float 0d0) x))) (ext:with-float-traps-masked (:divide-by-zero) (foo -0d0)) => #.EXT:DOUBLE-FLOAT-NEGATIVE-INFINITY (ext:with-float-traps-masked (:divide-by-zero) (log -0d0)) => #C(#.EXT:DOUBLE-FLOAT-NEGATIVE-INFINITY 3.141592653589793d0) -- With best regards, Stas.
"Stas" == Stas Boukarev <stassats@gmail.com> writes:
Stas> Raymond Toy <toy.raymond@gmail.com> writes: >> The March snapshot has been tagged and binaries will be uploaded soon. >> >> The main changes are: >> * Type derivation for log was not consistent with the values >> actually returned by log. This is corrected now. Stas> I'm not sure that this is right: Stas> (defun foo (x) Stas> (log (the (double-float 0d0) x))) Stas> (ext:with-float-traps-masked (:divide-by-zero) (foo -0d0)) => Stas> #.EXT:DOUBLE-FLOAT-NEGATIVE-INFINITY Stas> (ext:with-float-traps-masked (:divide-by-zero) (log -0d0)) => Stas> #C(#.EXT:DOUBLE-FLOAT-NEGATIVE-INFINITY 3.141592653589793d0) Oops. I seem to have misplaced the other half of the change. Thanks for letting me know! Ray
participants (2)
-
Raymond Toy -
Stas Boukarev