Spec::ObjectExtensions
Instance methods
close?(other, rel_tol = 1e-7, abs_tol = 0.0)
Check if the other number is close to this one
Returns true if the numbers are within the relative or the absolute tolerance of each other
Check if the other number is close to this one
Returns true if the numbers are within the relative or the absolute tolerance of each other