IsLessOrEqual


Check whether the first argument is less or equal to the second one.

You can find more information in comments below.

template<class TYPE>
constexpr bool IsLessOrEqual(const TYPE a, const TYPE b); // Check whether the first argument is less or equal to the second one
template<class TYPE>
constexpr bool IsLessOrEqual(const TYPE a, const TYPE b, const TYPE tolerance = Tolerance<TYPE>); // Check whether the first argument is less or equal to the second one. For float values. Uses absolute comparison
Namespace: ntl
Include: NTL/Core/Utils.h