|
using | Digit = i64 |
| i64 can conatins 10^9 * 10^9.
|
|
|
| BigInt (const String &str) |
|
| BigInt (i32 value) |
|
| BigInt (i64 value) |
|
| BigInt (u32 value) |
|
| BigInt (u64 value) |
|
bool | IsPositive () const |
|
bool | IsNegative () const |
|
bool | IsZero () const |
|
bool | operator== (const BigInt &rhs) const |
|
bool | operator!= (const BigInt &rhs) const |
|
bool | operator< (const BigInt &rhs) const |
|
bool | operator> (const BigInt &rhs) const |
|
bool | operator<= (const BigInt &rhs) const |
|
bool | operator>= (const BigInt &rhs) const |
|
BigInt | operator+ (const BigInt &rhs) const |
|
BigInt | operator- (const BigInt &rhs) const |
|
BigInt | operator* (const BigInt &rhs) const |
|
BigInt | operator/ (const BigInt &rhs) const |
| Return 0 if rhs zero.
|
|
BigInt | operator% (const BigInt &rhs) const |
| Return 0 if rhs zero.
|
|
BigInt | operator- () const |
|
BigInt & | operator+= (const BigInt &rhs) |
|
BigInt & | operator-= (const BigInt &rhs) |
|
BigInt & | operator*= (const BigInt &rhs) |
|
BigInt & | operator/= (const BigInt &rhs) |
|
BigInt & | operator%= (const BigInt &rhs) |
|
BigInt & | operator++ () |
| Prefix increment operator.
|
|
BigInt | operator++ (int x) |
| Postfix increment operator.
|
|
BigInt & | operator-- () |
| Prefix decrement operator.
|
|
BigInt | operator-- (int x) |
| Postfix decrement operator.
|
|
String | ToString () const |
|
|
bool | positive_ |
| Sign (zero is positive).
|
|
Vector< Digit > | magnitude_ |
| Array of digits with base 10^9 and reverse order (each element contains value in range [0 .. BASE-1]).
|
|
The documentation for this class was generated from the following files:
- /home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Math/BigInt.h
- /home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Math/BigInt.cpp