Big Integer library written in C++ to perform basic arithmetic operations
- g++ version 4.8.4 or higher
- Boost version 1.63.0 or higher
- python 2.7.6 or higher
First compile the project in your local system by:
make clean
make
For testing if it works, see Running tests below
For automated tests, run:
make script
It generates random numbers and tests if the basic operations are performed correctly
For manual tests, run:
./test -a #For addition
./test -s #For subtraction
./test -m #For multiplication
./test -d #For division
./test -e #For exponentiation
For using the Intal library:
- Copy libintal.a file to the location of your source file.
- Include Intal.h to your source file.
- To compile your program (say main.cpp):
g++ -static main.cpp -L. -lintal -o main
- Ganesh K. - ganesh-k13
This is developed as an assignment for Design and Analysis of Algorithms Course