|
Mjolnir Core
Core functionality of the Mjolnir API
|
Contains comparison functions with tolerances. More...

Go to the source code of this file.
Functions | |
| template<typename T_Type > | |
| requires Number< T_Type > auto | is_close_abs (T_Type lhs, T_Type rhs, T_Type tolerance=default_tolerance_abs< T_Type >) noexcept -> bool |
Return ´true´ if the difference between lhs and rhs is inside an absolute tolerance and false otherwise. More... | |
Variables | |
| template<typename T_Type > | |
| constexpr T_Type | default_tolerance_abs = static_cast<T_Type>(1E-6) |
| The default absolute tolerance. More... | |
Contains comparison functions with tolerances.