diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-09-27 09:38:55 -0600 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-09-27 09:38:55 -0600 |
commit | 5e85a662d21081bc27adc1142759659cca59cd62 (patch) | |
tree | 5838ae4172d971db11d386a06a3ca10870fdb807 /cl/tests/maceps.lisp | |
parent | 58c73fd511b77cb94124b71a4bb75c7ab6a6d8bc (diff) | |
download | cmath-5e85a662d21081bc27adc1142759659cca59cd62.tar.gz cmath-5e85a662d21081bc27adc1142759659cca59cd62.zip |
fix compute-maceps arguments
Diffstat (limited to 'cl/tests/maceps.lisp')
-rw-r--r-- | cl/tests/maceps.lisp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/cl/tests/maceps.lisp b/cl/tests/maceps.lisp index 9d61772..cd5ced9 100644 --- a/cl/tests/maceps.lisp +++ b/cl/tests/maceps.lisp @@ -13,10 +13,12 @@ (test maceps :description "double precision provides precision about (mac eps of single precision) squared" - (let* ((maceps-computation-double (compute-maceps 1.0d0 - (lambda (x) x))) - (maceps-computation-single (compute-maceps 1.0 - (lambda (x) x))) + (let* ((maceps-computation-double (compute-maceps (lambda (x) x) + 1.0d0 + 1.0d0)) + (maceps-computation-single (compute-maceps (lambda (x) x) + 1.0 + 1.0)) (last-double-h (cadar (last maceps-computation-double))) (last-single-h (cadar (last maceps-computation-single)))) (is (within-range-p |