IsNotZero


Check whether argument isn't zero.

You can find more information in comments below.

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