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

.is_equal_floatR 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.


tern documentation built on Sept. 24, 2024, 9:06 a.m.