tests for (round -0.0), etc.
svn: r8907
This commit is contained in:
parent
186d63a2cc
commit
cc6a756440
|
@ -1244,6 +1244,14 @@
|
|||
(test 4.0 round 3.5)
|
||||
(test -4.0 round -3.5)
|
||||
|
||||
(define (test-zero-ident f)
|
||||
(test 0.0 f 0.0)
|
||||
(test -0.0 f -0.0))
|
||||
(test-zero-ident round)
|
||||
(test-zero-ident floor)
|
||||
(test-zero-ident ceiling)
|
||||
(test-zero-ident truncate)
|
||||
|
||||
(err/rt-test (floor 2.6+0.0i))
|
||||
(err/rt-test (ceiling 2.6+0.0i))
|
||||
(err/rt-test (round 2.6+0.0i))
|
||||
|
|
Loading…
Reference in New Issue
Block a user