A bignum library written in the C++ programming language as templates. It provides standard mathematical operations like add, sub, mul, div, pow etc. with the big integer and big floating point numbers.

Project Activity

See All Activity >

License

BSD License

Follow TTMath - a bignum library for C++

TTMath - a bignum library for C++ Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
2
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • I tried to use this to alleviate numerical stability issues with some matrix computations. However using Big<1,2> instead of double turns fraction-of-a-second computation into multi-hour computation (or more, I stopped the computation after a couple of hours). I also found out that a lot of standard operators are missing, e.g.: Big operator*(double, Big) Big operator*(int, Big) etc... even though operators involving only Big type are implemented, e.g.: Big operator*(Big, Big). Strangely, Abs(), Sqrt() etc do not work on a copy but on the parameter itself, thus instead of Big positiveA=A.Abs(); the following code is required: Big positiveA=A; positiveA.Abs(); Lastly, casting to int doesn't work: int(Big) //compile error //http://www.learncpp.com/cpp-tutorial/910-overloading-typecasts/ Bottom line: For some less computationally demanding scenarios, I guess this class is useful.
  • Just wanna say thanks for this great project. It helps me a lot with my project here in Sourceforge. <<libNT>> good job and I hope you keep it going. I'm gonna update my project with your new version soon !
Read more reviews >

Additional Project Details

Operating Systems

BSD, Linux, Windows

Languages

English

Intended Audience

Developers

Programming Language

C++

Related Categories

C++ Algorithms, C++ Frameworks, C++ Object Oriented Software

Registered

2007-01-05