BigInt is a C++ library file that is used to handle very big integers. It can be very useful in calculating very big numbers calculations. It consists of an inbuilt function that can be beneficial to use.
- BigNumber is a header-only library for working with integer values bigger than the hardware limit.
- BigNumber has no additional dependencies and is as simple to use as possible.
- addition:- BigInt operator +(BigInt x);
- subtraction:- BigInt operator -(BigInt x);
- multiplication:- BigInt operator *(BigInt x);
- division:- BigInt operator /(BigInt x);
- modulus:- BigInt operator %(BigInt x);
- bool operator ==(const BigInt &x) const;
- bool operator <(const BigInt &x) const;
- bool operator <=(const BigInt &x) const;
- bool operator >(const BigInt &x) const;
- bool operator >=(const BigInt &x) const;
- BigInt &operator++();
- BigInt &operator--();
Contributions are welcome, fork this repo, change it, open a pull request or an issue. Make sure no tests are failing.
All code is licensed under MIT.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.