1.0.19.22: fix bug #425
[sbcl.git] / tests / float.pure.lisp
index 1367747..7acc048 100644 (file)
@@ -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 :darwin)) ;; bug 372
+            :fails-on '(or :ppc :darwin (and :x86 :openbsd))) ;; bug 372
   (progn
     (assert (raises-error? (scale-float 1.0 most-positive-fixnum)
                            floating-point-overflow))
 (funcall (compile nil '(lambda () (tan (tan (round 0))))))
 
 (with-test (:name (:addition-overflow :bug-372)
-            :fails-on '(or :ppc :darwin :mips))
+            :fails-on '(or :ppc :darwin (and :x86 (or :netbsd :openbsd))))
   (assert (typep (nth-value
                   1
                   (ignore-errors
                      (+ x0 x3 x4 x7) (+ x1 x2 x5 x6)
                      (+ x0 x1 x6 x7) (+ x2 x3 x4 x5)))))))
 
-(with-test (:name :nan-comparisons)
+
+(with-test (:name :nan-comparisons
+            :fails-on '(or :sparc :mips))
   (sb-int:with-float-traps-masked (:invalid)
     (macrolet ((test (form)
                  (let ((nform (subst '(/ 0.0 0.0) 'nan form)))