Nothing
### Test whether or not IEEE floating point is working on the C/Fortran side.
test_that('IEEE floating point, Fortran bind(C)', {
expect_equal(.C(glinvtestfloatIEEE01_, -Inf, NaN, NAOK=T)[[2]], 0.0)
expect_equal(.C(glinvtestfloatIEEE01_, Inf, NaN, NAOK=T)[[2]], Inf)
})
test_that('IEEE floating point, .Call(), Rmath.h', {
expect_equal(.Call(glinvtestfloatIEEE02, -Inf), 0.0)
expect_equal(.Call(glinvtestfloatIEEE02, Inf), Inf)
})
test_that('IEEE floating point, .C(), Rmath.h', {
expect_equal(.C(glinvtestfloatIEEE03, -Inf, NaN, NAOK=T)[[2]], 0.0)
expect_equal(.C(glinvtestfloatIEEE03, Inf, NaN, NAOK=T)[[2]], Inf)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.