Mjolnir Core
Core functionality of the Mjolnir API

◆ is_close_abs()

requires Number< T_Type > auto is_close_abs ( T_Type  lhs,
T_Type  rhs,
T_Type  tolerance = default_tolerance_abs<T_Type> 
) -> bool
inlinenoexcept

Return ´true´ if the difference between lhs and rhs is inside an absolute tolerance and false otherwise.

Template Parameters
T_TypeType of the function parameters
Parameters
[in]lhsLeft-hand side value
[in]rhsRight-hand side value
[in]toleranceThe tolerance of the comparison
Returns
´true´ if the difference between lhs and rhs is inside an absolute tolerance and false otherwise.
Todo:
Add debug exception for negative tolerances