Template Function mrpt::math::approximatelyEqual(T, T)

Function Documentation

template<class T>
bool mrpt::math::approximatelyEqual(T a, T b)

Compare 2 floats and determine whether they are equal.

Parameters:
  • a – Fist num

  • b – Second num

Returns:

True if equal, false otherwise