IsNotNegative


Check whether argument isn't negative.

You can find more information in comments below.

template<class TYPE>
constexpr bool IsNotNegative(const TYPE a); // Check whether argument isn't negative
template<class TYPE>
constexpr bool IsNotNegative(const TYPE a, const TYPE tolerance = Tolerance<TYPE>); // Check whether argument isn't negative. For float values. Uses absolute comparison
Namespace: ntl
Include: NTL/Core/Utils.h