Package org.apfloat.samples
Class Pi.GaussLegendrePiCalculator
- java.lang.Object
-
- org.apfloat.samples.Pi.GaussLegendrePiCalculator
-
- All Implemented Interfaces:
Serializable
,Operation<Apfloat>
- Enclosing class:
- Pi
public static class Pi.GaussLegendrePiCalculator extends Object implements Operation<Apfloat>
Calculates pi using the Gauss-Legendre algorithm.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GaussLegendrePiCalculator(long precision, int radix)
Construct a pi calculator with the specified precision and radix.
-