projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use *SUPPRESS-PRINT-ERRORS* for backtraces and DESCRIBE
[sbcl.git]
/
tests
/
float.pure.lisp
diff --git
a/tests/float.pure.lisp
b/tests/float.pure.lisp
index
64f601e
..
4f28680
100644
(file)
--- 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 :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))))