Skip to main content

SoftEQR

Check equality of two numbers.

Calling example:

abool = SOFTEQ(a, b, tol)
abtol×max(a,b)\vert a - b \vert \le tol \times max(\vert a \vert, \vert b\vert)