Skip to contents

Check if two numeric values are approximately equal

Usage

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

Arguments

a

a numeric object

b

a numeric object

tol

the numeric tolerance

Value

a logical value