X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Farith.pure.lisp;h=6ca3aaafd56e6b4a43dc4cba9b16cde2722af9fb;hb=4400b14fd1204e0afe89a37e9235dd3e5e31792b;hp=af1932cce05cf0b57279a17548088b4a95946708;hpb=2230ea0c1765a95fd2aa0a8996b3555b93ba3745;p=sbcl.git diff --git a/tests/arith.pure.lisp b/tests/arith.pure.lisp index af1932c..6ca3aaa 100644 --- a/tests/arith.pure.lisp +++ b/tests/arith.pure.lisp @@ -359,3 +359,9 @@ < <= = >= > eql eq)))) + +;; GCD used to sometimes return negative values. The following did, on 32 bit +;; builds. +(with-test (:name :gcd) + (assert (plusp (gcd 20286123923750474264166990598656 + 680564733841876926926749214863536422912))))