IsNegative


Check whether argument is negative.

You can find more information in comments below.

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