X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Ffloat.pure.lisp;h=4f286803d178e7f4a3a6541abe79ac105164deb8;hb=097bb4b229c78120a1cf3771b1d0cdca31a93101;hp=64f601e38ba421cca5555fffcbe642c588332230;hpb=a18b41402363b662ec59ddaa100f1e417e76aef3;p=sbcl.git diff --git a/tests/float.pure.lisp b/tests/float.pure.lisp index 64f601e..4f28680 100644 --- a/tests/float.pure.lisp +++ b/tests/float.pure.lisp @@ -415,3 +415,7 @@ (with-test (:name :round-single-to-bignum) (assert (= (round 1e14) 100000000376832)) (assert (= (round 1e19) 9999999980506447872))) + +(with-test (:name :scaled-%hypot) + (assert (<= (abs (complex most-positive-double-float 1d0)) + (1+ most-positive-double-float))))