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

5 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

  1. BigNumber is a header-only library for working with integer values bigger than the hardware limit.
  2. BigNumber has no additional dependencies and is as simple to use as possible.

Arithmetic operators

  1. addition:- BigInt operator +(BigInt x);
  2. subtraction:- BigInt operator -(BigInt x);
  3. multiplication:- BigInt operator *(BigInt x);
  4. division:- BigInt operator /(BigInt x);
  5. modulus:- BigInt operator %(BigInt x);

Relational operators

  1. bool operator ==(const BigInt &x) const;
  2. bool operator <(const BigInt &x) const;
  3. bool operator <=(const BigInt &x) const;
  4. bool operator >(const BigInt &x) const;
  5. bool operator >=(const BigInt &x) const;

Increment and Decrement operators

  1. BigInt &operator++();
  2. 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