X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Ffloat.pure.lisp;h=1b983b7c9e6f51bbb55b765a6d8c8c25b3e3c2fa;hb=e13eca4c5eaaffd3b16fb7f850b0df83a22c4f11;hp=5140bbdab2ac3310a9ba32ebed306fc737834d65;hpb=14e646e1fe2525f3375a0fa2b3770473ebf97e93;p=sbcl.git diff --git a/tests/float.pure.lisp b/tests/float.pure.lisp index 5140bbd..1b983b7 100644 --- a/tests/float.pure.lisp +++ b/tests/float.pure.lisp @@ -208,7 +208,9 @@ (assert (eql 2567.6046442221327d0 (log (loop for n from 1 to 1000 for f = 1 then (* f n) finally (return f)) - 10d0)))) + 10d0))) + ;; both ways + (assert (eql (log 123123123.0d0 10) (log 123123123 10.0d0)))) (with-test (:name :log-base-zero-return-type) (assert (eql 0.0f0 (log 123 (eval 0))))