EleFits  5.3.1
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches

◆ approx()

bool approx ( test,
ref,
double  tol = 0.01 
)

Check whether a test value is approximately equal to a reference value.

Floating point values are compared as: |test - ref| / ref < tol Complex values are tested component-wise. Other types are tested for equality.