Functions | |
bool | fuzzy_equal (double is, double should, double tol=1e-1) |
Performs a fuzzy (up to a tolerance) equal. Returns true if is and should are equal within the tolerance tol. More... | |
|
inline |
Performs a fuzzy (up to a tolerance) equal. Returns true if is and should are equal within the tolerance tol.
is | The value |
should | The value is should be |
tol | The tolerance |
Definition at line 39 of file common.hpp.