R/utils.R

approx_equal.Rd

Check if two numeric values are approximately equal

approx_equal(a, b, tol = sqrt(.Machine$double.eps))

a numeric object

the numeric tolerance

a logical value