A simple lightweight C++ code snippet implementing bigint using an array of bytes. Code is not fully optimized.
- Addition
- Subtraction
- Multiplication
- Division
- Modulo
- Abs
- GCD
- LCM
Compile and run main.cpp to test the library
$ g++ main.cpp -o out/main
$ ./out/main
3526752 * 2673782646346834
9429768295568989503168