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 June 22, 2024, 10:25 a.m.