#include <cstdint>
#include <utility>
Go to the source code of this file.
|
| BigInt | operator+ (const BigInt &lhs, const BigInt &rhs) |
| BigInt | operator- (const BigInt &lhs, const BigInt &rhs) |
| BigInt | operator* (const BigInt &lhs, const BigInt &rhs) |
| BigInt | operator/ (const BigInt &lhs, const BigInt &rhs) |
| BigInt | operator% (const BigInt &lhs, const BigInt &rhs) |
| bool | operator< (const BigInt &lhs, const BigInt &rhs) |
| bool | operator> (const BigInt &lhs, const BigInt &rhs) |
| bool | operator<= (const BigInt &lhs, const BigInt &rhs) |
| bool | operator>= (const BigInt &lhs, const BigInt &rhs) |
| bool | operator== (const BigInt &lhs, const BigInt &rhs) |
| bool | operator!= (const BigInt &lhs, const BigInt &rhs) |
◆ BINARY_ARITHMETIC_OPERATORS
| #define BINARY_ARITHMETIC_OPERATORS |
( |
| OTHER | ) |
|
Value:
{ \
} \
{ \
} \
{ \
return BigInt(lhs) *= rhs; \
} \
{ \
return BigInt(rhs) *= lhs; \
} \
{ \
return BigInt(lhs) -= rhs; \
} \
{ \
return BigInt(lhs) /= rhs; \
} \
{ \
return BigInt(lhs) %= rhs; \
}
BigInt operator+(const BigInt &lhs, const BigInt &rhs)
Definition bigint.hh:341
BigInt operator*(const BigInt &lhs, const BigInt &rhs)
Definition bigint.hh:349
BigInt operator-(const BigInt &lhs, const BigInt &rhs)
Definition bigint.hh:345
BigInt operator%(const BigInt &lhs, const BigInt &rhs)
Definition bigint.hh:357
BigInt operator/(const BigInt &lhs, const BigInt &rhs)
Definition bigint.hh:353
@ OTHER
Definition goto_program.h:33
◆ COMPARISON_OPERATORS
| #define COMPARISON_OPERATORS |
( |
| OTHER | ) |
|
◆ IN_PLACE_OPERATOR
| #define IN_PLACE_OPERATOR |
( |
| TYPE | ) |
|
Value:
#define TYPE(pre)
Definition frexp.c:51
guard2tc & operator-=(guard2tc &g1, const guard2tc &g2)
Definition irep2_guard.cpp:334
◆ OVERLOAD_IN_PLACE_OPERATOR
| #define OVERLOAD_IN_PLACE_OPERATOR |
( |
| FROM, |
|
|
| TO ) |
Value:
{ \
return operator+=(static_cast<TO>(x)); \
} \
{ \
} \
BigInt &operator*=(FROM x) \
{ \
return operator*=(static_cast<TO>(x)); \
} \
BigInt &operator/=(FROM x) \
{ \
return operator/=(static_cast<TO>(x)); \
} \
BigInt &operator%=(FROM x) \
{ \
return operator%=(static_cast<TO>(x)); \
}
◆ operator!=()
◆ operator%()
◆ operator*()
◆ operator+()
◆ operator-()
◆ operator/()
◆ operator<()
◆ operator<=()
◆ operator==()
◆ operator>()
◆ operator>=()