.is_equal_float {tern}R Documentation

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)

Arguments

x

(numeric(1))
a float number.

y

(numeric(1))
a float number.

Value

TRUE if identical, otherwise FALSE.


[Package tern version 0.9.5 Index]