Template Function sbg::areEquals

Function Documentation

template<typename T>
bool sbg::areEquals(T firstValue, T secondValue)

Check if the two input numbers are equals, taking into account the machine precision (float/double).

\template T Numeric template type.

Parameters:
  • firstValue[in] First numeric value.

  • secondValue[in] Second numeric value.

Returns:

True if the numbers are considered as equals.