public static class Pi.ChudnovskyPiCalculator extends Object implements Operation<Apfloat>
Modifier | Constructor and Description |
---|---|
|
Pi.ChudnovskyPiCalculator(long precision,
int radix)
Construct a pi calculator with the specified precision and radix.
|
protected |
Pi.ChudnovskyPiCalculator(Pi.BinarySplittingPiCalculator calculator,
long precision,
int radix)
Construct a pi calculator with the specified binary splitting algorithm.
|
public Pi.ChudnovskyPiCalculator(long precision, int radix) throws ApfloatRuntimeException
precision
- The target precision.radix
- The radix to be used.ApfloatRuntimeException
protected Pi.ChudnovskyPiCalculator(Pi.BinarySplittingPiCalculator calculator, long precision, int radix) throws ApfloatRuntimeException
calculator
- The binary splitting algorithm to be used.precision
- The target precision.radix
- The radix to be used.ApfloatRuntimeException