getTolerance


Return default tolerance for absolute comparison of float numbers.

If FLOAT is float it returns 0.001f.
If FLOAT is double it returns 0.000001.
If FLOAT is long double it returns 0.000001.

template<class FLOAT>
constexpr FLOAT getTolerance();
Namespace: ntl
Include: NTL/Core/Consts.h