getRelativeTolerance


Return default tolerance for relative comparison of float numbers.

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

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