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:
980cda7
)
Test (make-polar nan 0) is nan.
author
Taylor R Campbell
<campbell@mumble.net>
Sun, 18 Nov 2018 01:47:06 +0000
(
01:47
+0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Sun, 18 Nov 2018 01:47:06 +0000
(
01:47
+0000)
tests/runtime/test-arith.scm
patch
|
blob
|
history
diff --git
a/tests/runtime/test-arith.scm
b/tests/runtime/test-arith.scm
index 5b3774f8dda265cabfb2ae47da94e815fa7817e6..6fc78c05d5bd365b5af4e3b559f0ee3f77943a26 100644
(file)
--- a/
tests/runtime/test-arith.scm
+++ b/
tests/runtime/test-arith.scm
@@
-142,6
+142,10
@@
USA.
(lambda (magnitude)
(assert-real (make-polar magnitude 0))))
+(define-test 'polar0-nan
+ (lambda ()
+ (assert-nan (make-polar (flo:nan.0) 0))))
+
(define-enumerated-test 'flo:ulp
(vector
(vector (flo:-inf.0) (flo:+inf.0))