Merge pull request #287 from lexi-lambda/r7rs-tests-asin-acos-exactness

Allow asin and acos to return an exact zero result in the R7RS tests
This commit is contained in:
Alex Shinn 2015-11-01 22:35:47 +09:00
commit 344680f3b2

View file

@ -836,9 +836,9 @@
(test 0.0 (inexact (tan 0))) ;; may return exact number
(test 1.5574077246549 (tan 1))
(test 0.0 (asin 0))
(test 0.0 (inexact (asin 0))) ;; may return exact number
(test 1.5707963267949 (asin 1))
(test 0.0 (acos 1))
(test 0.0 (inexact (acos 1))) ;; may return exact number
(test 3.14159265358979 (acos -1))
(test 0.0 (atan 0.0 1.0))