mirror of
https://github.com/nasa/trick.git
synced 2025-03-10 22:44:25 +00:00
* Initial commit of compareFloatingPoint utils. * Update .gitignore to properly ignore unittest executables.
14 lines
238 B
C++
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
|