|
| template<bool supportInfinity> |
| void | regina::swap (IntegerBase< supportInfinity > &a, IntegerBase< supportInfinity > &b) noexcept |
| | Swaps the contents of the given integers. More...
|
| |
| template<bool supportInfinity> |
| std::ostream & | regina::operator<< (std::ostream &out, const IntegerBase< supportInfinity > &i) |
| | Writes the given integer to the given output stream. More...
|
| |
| template<bool supportInfinity> |
| IntegerBase< supportInfinity > | regina::operator+ (long lhs, const IntegerBase< supportInfinity > &rhs) |
| | Adds the given native integer to the given large integer. More...
|
| |
| template<bool supportInfinity> |
| IntegerBase< supportInfinity > | regina::operator* (long lhs, const IntegerBase< supportInfinity > &rhs) |
| | Multiplies the given native integer with the given large integer. More...
|
| |
| template<bool supportInfinity> |
| void | regina::tightEncode (std::ostream &out, IntegerBase< supportInfinity > value) |
| | Writes the tight encoding of the given arbitrary precision integer to the given output stream. More...
|
| |
| template<bool supportInfinity> |
| std::string | regina::tightEncoding (IntegerBase< supportInfinity > value) |
| | Returns the tight encoding of the given arbitrary precision integer. More...
|
| |
| template<int bytes> |
| void | regina::swap (NativeInteger< bytes > &a, NativeInteger< bytes > &b) noexcept |
| | Swaps the contents of the given integers. More...
|
| |
| template<int bytes> |
| std::ostream & | regina::operator<< (std::ostream &out, const NativeInteger< bytes > &i) |
| | Writes the given integer to the given output stream. More...
|
| |
Provides arbitrary-precision and fixed-precision integer types.