|
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| long | sw::universal::scale (const integer< nbits, BlockType, NumberType > &i) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > & | sw::universal::convert (int64_t v, integer< nbits, BlockType, NumberType > &result) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > & | sw::universal::convert (uint64_t v, integer< nbits, BlockType, NumberType > &result) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| bool | sw::universal::parse (const std::string &number, integer< nbits, BlockType, NumberType > &value) |
| | stream operators
|
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::abs (const integer< nbits, BlockType, NumberType > &a) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::onesComplement (const integer< nbits, BlockType, NumberType > &value) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::twosComplement (const integer< nbits, BlockType, NumberType > &value) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr signed | sw::universal::findMsb (const integer< nbits, BlockType, NumberType > &v) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| void | sw::universal::remainder (integer< nbits, BlockType, NumberType > &c, const integer< nbits, BlockType, NumberType > &a, const integer< nbits, BlockType, NumberType > &b) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr void | sw::universal::divide_magnitudes (const integer< nbits, BlockType, NumberType > &a, const integer< nbits, BlockType, NumberType > &b, integer< nbits, BlockType, NumberType > &q, integer< nbits, BlockType, NumberType > &r) noexcept |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr idiv_t< nbits, BlockType, NumberType > | sw::universal::idiv (const integer< nbits, BlockType, NumberType > &, const integer< nbits, BlockType, NumberType > &b) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr bool | sw::universal::operator== (const integer< nbits, BlockType, NumberType > &lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr bool | sw::universal::operator!= (const integer< nbits, BlockType, NumberType > &lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr bool | sw::universal::operator< (const integer< nbits, BlockType, NumberType > &lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr bool | sw::universal::operator> (const integer< nbits, BlockType, NumberType > &lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr bool | sw::universal::operator<= (const integer< nbits, BlockType, NumberType > &lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr bool | sw::universal::operator>= (const integer< nbits, BlockType, NumberType > &lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType, typename IntType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::literal_operand (IntType v) noexcept |
| template<IntegerNumberType NumberType, typename IntType> |
| constexpr bool | sw::universal::literal_below_domain (IntType v) noexcept |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType, typename IntType> |
| constexpr bool | sw::universal::operator== (const integer< nbits, BlockType, NumberType > &lhs, IntType rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType, typename IntType> |
| constexpr bool | sw::universal::operator!= (const integer< nbits, BlockType, NumberType > &lhs, IntType rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType, typename IntType> |
| constexpr bool | sw::universal::operator< (const integer< nbits, BlockType, NumberType > &lhs, IntType rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType, typename IntType> |
| constexpr bool | sw::universal::operator> (const integer< nbits, BlockType, NumberType > &lhs, IntType rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType, typename IntType> |
| constexpr bool | sw::universal::operator<= (const integer< nbits, BlockType, NumberType > &lhs, IntType rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType, typename IntType> |
| constexpr bool | sw::universal::operator>= (const integer< nbits, BlockType, NumberType > &lhs, IntType rhs) |
| template<typename IntType, unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr bool | sw::universal::operator== (IntType lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<typename IntType, unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr bool | sw::universal::operator!= (IntType lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<typename IntType, unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr bool | sw::universal::operator< (IntType lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<typename IntType, unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr bool | sw::universal::operator> (IntType lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<typename IntType, unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr bool | sw::universal::operator<= (IntType lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<typename IntType, unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr bool | sw::universal::operator>= (IntType lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator<< (const integer< nbits, BlockType, NumberType > &lhs, int shift) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator>> (const integer< nbits, BlockType, NumberType > &lhs, int shift) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator+ (const integer< nbits, BlockType, NumberType > &lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator- (const integer< nbits, BlockType, NumberType > &lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator* (const integer< nbits, BlockType, NumberType > &lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator/ (const integer< nbits, BlockType, NumberType > &lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator% (const integer< nbits, BlockType, NumberType > &lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator& (const integer< nbits, BlockType, NumberType > &lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator| (const integer< nbits, BlockType, NumberType > &lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator^ (const integer< nbits, BlockType, NumberType > &lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::arithmetic_literal (long long v) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator+ (const integer< nbits, BlockType, NumberType > &lhs, long long rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator- (const integer< nbits, BlockType, NumberType > &lhs, long long rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator* (const integer< nbits, BlockType, NumberType > &lhs, long long rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator/ (const integer< nbits, BlockType, NumberType > &lhs, long long rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator% (const integer< nbits, BlockType, NumberType > &lhs, long long rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator& (const integer< nbits, BlockType, NumberType > &lhs, long long rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator| (const integer< nbits, BlockType, NumberType > &lhs, long long rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator^ (const integer< nbits, BlockType, NumberType > &lhs, long long rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator+ (long long lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator- (long long lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator* (long long lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator/ (long long lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator% (long long lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator& (long long lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator| (long long lhs, const integer< nbits, BlockType, NumberType > &rhs) |
| template<unsigned nbits, typename BlockType, IntegerNumberType NumberType> |
| constexpr integer< nbits, BlockType, NumberType > | sw::universal::operator^ (long long lhs, const integer< nbits, BlockType, NumberType > &rhs) |