trick/include/trick/compareFloatingPoint.hh
jmpenn afbc78c5e7
Initial commit of compareFloatingPoint utils. (#1443)
* Initial commit of compareFloatingPoint utils.

* Update .gitignore to properly ignore unittest executables.
2023-02-01 15:54:31 -06:00

14 lines
238 B
C++

#ifndef COMPARE_FLOATING_POINT_HH
#define COMPARE_FLOATING_POINT_HH
/* author: John M. Penn */
namespace Trick {
bool dbl_is_near( double A, double B, double tolerance);
bool flt_is_near( float A, float B, float tolerance);
}
#endif