close menu

Large Number Arithmetic


What is this?

This project served as my final project for my grade 11 computer science course. It's a large number arithmetic library (addition, subtraction, multiplication) written in C++ which uses arrays of single digits to do arithmetic in a way similar to the way one does on paper.

Can I use this?

Feel free to do so! Please note that there is no division or modulo function, only addition, subtraction, and multiplication thus far. If there is any interest, I may consider continuing work on this project.


This project is distributed under the Lesser GNU General Public License v3 (LGPLv3), which means you can technically use it in proprietary applications. I would encourage you to release your source code under a permissive license though, should you decide to use this code.