public static class PiParallel.ParallelChudnovskyPiCalculator extends Pi.ChudnovskyPiCalculator
| Modifier | Constructor and Description |
|---|---|
|
PiParallel.ParallelChudnovskyPiCalculator(long precision,
int radix)
Construct a pi calculator with the specified precision and radix.
|
protected |
PiParallel.ParallelChudnovskyPiCalculator(Pi.BinarySplittingPiCalculator calculator,
long precision,
int radix)
Construct a pi calculator with the specified binary splitting algorithm.
|
public PiParallel.ParallelChudnovskyPiCalculator(long precision,
int radix)
throws ApfloatRuntimeException
precision - The target precision.radix - The radix to be used.ApfloatRuntimeExceptionprotected PiParallel.ParallelChudnovskyPiCalculator(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.ApfloatRuntimeExceptionpublic Apfloat execute()
Pi.ChudnovskyPiCalculatorexecute in interface Operation<Apfloat>execute in class Pi.ChudnovskyPiCalculator