X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Farith.pure.lisp;h=f98ba6467a4097ff019a91caf5587ccd73accedc;hb=e59ce23faa19fe7995e59186c114e865ce3bfcd1;hp=915c5457999bf89449120a71b9d91155d92da1b4;hpb=1a1f1815159e714a635e92e9f0f2f7845e64fc91;p=sbcl.git diff --git a/tests/arith.pure.lisp b/tests/arith.pure.lisp index 915c545..f98ba64 100644 --- a/tests/arith.pure.lisp +++ b/tests/arith.pure.lisp @@ -21,9 +21,9 @@ `(progn (assert (= (,op 4 2) ,res1)) (assert (= (,op 2 4) ,res2)) - (assert (= (funcall (compile nil (lambda (x y) (,op x y))) 4 2) + (assert (= (funcall (compile nil '(lambda (x y) (,op x y))) 4 2) ,res1)) - (assert (= (funcall (compile nil (lambda (x y) (,op x y))) 2 4) + (assert (= (funcall (compile nil '(lambda (x y) (,op x y))) 2 4) ,res2))))) (test + 6 6) (test - 2 -2) @@ -290,3 +290,8 @@ (let ((x (random (ash 1 i)))) (test x (test-logcount x)) (test (- x) (test-logcount (- x)))))))) + +;; 1.0 had a broken ATANH on win32 +(with-test (:name :atanh) + (assert (= (atanh 0.9d0) 1.4722194895832204d0))) +