X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Ffloat.pure.lisp;h=d06352cc3895e75af7d0a8b738244a4c94eafb7b;hb=22a6702974b7d6ff4e8f2b3b7b5ff446fc632de0;hp=e6c574b603ee152e811a227422ab75129758f17b;hpb=d7dabe5659e96c967d5c4fe3d2e3bb631ae70a8b;p=sbcl.git diff --git a/tests/float.pure.lisp b/tests/float.pure.lisp index e6c574b..d06352c 100644 --- a/tests/float.pure.lisp +++ b/tests/float.pure.lisp @@ -93,7 +93,7 @@ (assert (= 0.0d0 (scale-float 1.0d0 (1- most-negative-fixnum)))) (with-test (:name (:scale-float-overflow :bug-372) - :fails-on '(or :ppc)) ;; bug 372 + :fails-on '(or :ppc :darwin :freebsd)) ;; bug 372 (progn (assert (raises-error? (scale-float 1.0 most-positive-fixnum) floating-point-overflow)) @@ -118,8 +118,14 @@ #c(1.0d0 2.0d0)) 'double-float)) +;;; More out of line functions (%COS, %SIN, %TAN) for constant folding, +;;; reported by Mika Pihlajamäki +(funcall (compile nil '(lambda () (cos (tan (round 0)))))) +(funcall (compile nil '(lambda () (sin (tan (round 0)))))) +(funcall (compile nil '(lambda () (tan (tan (round 0)))))) + (with-test (:name (:addition-overflow :bug-372) - :fails-on '(or :ppc :mips)) + :fails-on '(or :ppc :darwin :mips :freebsd)) (assert (typep (nth-value 1 (ignore-errors