Comparison Operations
Header aarith/integer/integer_comparisons.hpp
-
namespace aarith
Functions
-
template<size_t W, size_t V, typename T, template<size_t, typename> typename Int>
constexpr bool operator==(const Int<W, T> &a, const Int<V, T> &b) Note
Two numbers can be equal even though they have different bit widths!
-
template<size_t W, size_t V, typename WordType>
constexpr bool operator<(const uinteger<W, WordType> &a, const uinteger<V, WordType> &b)
-
template<size_t W, size_t V, typename T, template<size_t, typename> typename Int>