bignum-special | R Documentation |
biginteger and bigfloat support missing values (via NA_biginteger_
and
NA_bigfloat_
respectively).
bigfloat additionally supports positive and negative infinity and 'Not a Number' values. Usually these are the result of a calculation, but they can also be created manually by casting from numeric to bigfloat.
These functions check for the presence of these special values. The base R
documentation can be found at is.na()
and is.finite()
.
A logical vector.
Other bignum operations:
bignum-arith
,
bignum-compare
,
bignum-math
x <- bigfloat(c(0, NA, Inf, -Inf, NaN))
is.na(x)
is.finite(x)
is.infinite(x)
is.nan(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.