C++ library for arbitrary precision arithmetic and big numbers
Bignum library for C++
ttmath$ #include <ttmath/ttmath.h>
ttmath::Big<1,0> a = 123456789;
ttmath::Big<1,0> b = 987654321;
ttmath::Big<1,0> result = a * b;$ ttmath::Big<10,20> pi = "3.14159265358979323846";
ttmath::Big<10,20> radius = 5;
ttmath::Big<10,20> area = pi * radius * radius;$ g++ -o bignum_calc bignum_calc.cpp -I$(brew --prefix ttmath)/include