BigNumber Library

An arbitrary-precision integer arithmetic library implemented in C++, where numbers are stored as doubly-linked lists of 8-bit nodes. This design allows integers of virtually unlimited size, far exceeding the 64-bit boundary of native types. The library provides full operator overloading for natural arithmetic syntax, bit-level operations, number-theoretic functions, and multiple output formats. All functionality is validated by 43 unit tests with zero memory leaks confirmed via Valgrind.

Features

Technical Details

Build Instructions

Requirements: CMake (3.14+), GoogleTest

git clone https://github.com/ArturKos/BigNumber.git
cd BigNumber
mkdir build && cd build
cmake ..
make
./tests    # run unit tests

Check out the project on GitHub: BigNumber Library on GitHub

Back to Portfolio