Skip to content

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 consist of an inbuilt function that can be beneficial to use.

License

Notifications You must be signed in to change notification settings

piyush06singhal/Big_Int_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Big_Int_project

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.

Info

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.

Arithmetic operators

  • 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);

Relational operators

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;

Increment and Decrement operators

BigInt &operator++();

BigInt &operator--();

Contributing

Contributions are welcome, fork this repo, change it, open a pull request or an issue.

Make sure no tests are failing.

License

All code is licensed under MIT.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.

About

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 consist of an inbuilt function that can be beneficial to use.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages