cs: fix math test suite
Adjust a recent addition to be guarded by a `(single-flonum-available?)` check. Closes #2747
This commit is contained in:
parent
43ba15ca38
commit
41fb8b4964
|
@ -341,10 +341,11 @@
|
|||
(test #t single=? tanh+1 (tanh 1.0f0))
|
||||
(test 1.0f0 tanh 20.0f0)
|
||||
(test 1.0f0 tanh +inf.f)
|
||||
(test #t single-flonum? (tanh -0.11100646f0))
|
||||
(test #t single-flonum? (tanh 0.11100646f0))
|
||||
(test #t single-flonum? (tanh 0.61100646f0))
|
||||
(test #t single-flonum? (tanh 20.61100646f0)))
|
||||
(when (single-flonum-available?)
|
||||
(test #t single-flonum? (tanh -0.11100646f0))
|
||||
(test #t single-flonum? (tanh 0.11100646f0))
|
||||
(test #t single-flonum? (tanh 0.61100646f0))
|
||||
(test #t single-flonum? (tanh 20.61100646f0))))
|
||||
|
||||
(test +nan.0 tanh +nan.0)
|
||||
(test -1.0 tanh -inf.0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user