bignum-special {bignum} | R Documentation |

## Check for special values

### Description

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()`

.

### Value

A logical vector.

### See Also

Other bignum operations:
`bignum-arith`

,
`bignum-compare`

,
`bignum-math`

### Examples

```
x <- bigfloat(c(0, NA, Inf, -Inf, NaN))
is.na(x)
is.finite(x)
is.infinite(x)
is.nan(x)
```

[Package

*bignum* version 0.3.2

Index]