Apfloat v. 1.3 Specification

Apfloat is an arbitrary precision arithmetic library.

See:
          Description

Packages
org.apfloat The apfloat Application Programming Interface (API).
org.apfloat.internal Default implementations of the apfloat Service Provider Interface (SPI).
org.apfloat.samples Sample applications demonstrating apfloat use.
org.apfloat.spi The apfloat Service Provider Interface (SPI).

 

Apfloat is an arbitrary precision arithmetic library. Most operations e.g. multiplication can be done with O(n log n) complexity. That is, when the number of digits doubles, the execution time only slightly more than doubles.

Apfloat requires Java 5.0 or later.

The apfloat library has been designed for high performance, but as it is 100% pure Java (although not certified to be), the achievement is somewhat limited compared to various other existing libraries written in C and assembler. For best performance it's recommended to use the fastest Java Virtual Machine available, for example Sun's server VM.

Apfloat is released as freeware, and comes with NO WARRANTIES.

To report bugs and submit questions or comments, please contact the author Mikko Tommila.