more tests for (inexact->exact +inf.0)
Add test where the expression is not in tail position, to ensure that the optimizer doesn't remove it.
This commit is contained in:
parent
d136245e3b
commit
589bd920a9
|
@ -739,6 +739,9 @@
|
|||
(err/rt-test (inexact->exact +inf.0))
|
||||
(err/rt-test (inexact->exact -inf.0))
|
||||
(err/rt-test (inexact->exact +nan.0))
|
||||
(err/rt-test (begin (inexact->exact +inf.0) 'not-an-error))
|
||||
(err/rt-test (begin (inexact->exact -inf.0) 'not-an-error))
|
||||
(err/rt-test (begin (inexact->exact +nan.0) 'not-an-error))
|
||||
|
||||
#reader "maybe-single.rkt"
|
||||
(when has-single-flonum?
|
||||
|
|
Loading…
Reference in New Issue
Block a user