Learn R Programming

tern (version 0.9.8)

.is_equal_float: Utility function to check if a float value is equal to another float value

Description

Uses .Machine$double.eps as the tolerance for the comparison.

Usage

.is_equal_float(x, y)

Value

TRUE if identical, otherwise FALSE.

Arguments

x

(numeric(1))
a float number.

y

(numeric(1))
a float number.