projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9187e1
)
Test (sqrt -0.) = -0., per IEEE 754-2008.
author
Taylor R Campbell
<campbell@mumble.net>
Fri, 30 Nov 2018 03:21:44 +0000
(
03:21
+0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Fri, 30 Nov 2018 06:53:16 +0000
(06:53 +0000)
tests/runtime/test-arith.scm
patch
|
blob
|
history
diff --git
a/tests/runtime/test-arith.scm
b/tests/runtime/test-arith.scm
index a3edece17bc6aec3e847b55934904434315d336b..7d8ae81d51f17c0afc989ffa9f8661df740e0405 100644
(file)
--- a/
tests/runtime/test-arith.scm
+++ b/
tests/runtime/test-arith.scm
@@
-656,6
+656,7
@@
USA.
(define-enumerated-test 'sqrt-exact
`((0 0)
(0. 0.)
+ (-0. -0.) ;IEEE 754-2008, 5.4.1, p. 21
(1 1)
(1. 1.)
;; Square root of perfect square should be exact.