Apfloat is a high performance arbitrary precision arithmetic library. You can
perform calculations with a precision of millions of digits with it. It's as simple to
use as Java's
BigInteger classes, but performs
a lot better with extreme precision numbers (more than a few hundred digits). Also, a
full suite of mathematical functions for arbitrary precision numbers are available: all
those existing in
java.lang.Math and more. Apfloat is distributed under
the terms of the GNU
Lesser General Public License (version 2.1 or any later version) and comes with
- Pi calculator - Calculate a million digits of pi (or more)
- Version 1.8.1 - Download the apfloat library
- Calculator applet - Online arbitrary precision calculator
The apfloat library is now also available via Maven.
Apfloat requires Java 5 or later.
A C++ version is also available.