float (version 0.2-3)

mathis: Finite, infinite, and NaNs

Description

Finite, infinite, and NaNs.

Usage

# S4 method for float32
is.finite(x)

# S4 method for float32 is.infinite(x)

# S4 method for float32 is.nan(x)

Arguments

x

A float vector/matrix.

Value

An integer vector/matrix of the same dimensions as the input.

Examples

Run this code
# NOT RUN {
library(float)

x = flrnorm(10)
is.nan(sqrt(x))
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace