public static class PiDistributed.DistributedRamanujanPiCalculator extends PiParallel.ParallelRamanujanPiCalculator
Constructor and Description |
---|
PiDistributed.DistributedRamanujanPiCalculator(long precision,
int radix)
Construct a pi calculator with the specified precision and radix.
|
public PiDistributed.DistributedRamanujanPiCalculator(long precision, int radix) throws ApfloatRuntimeException
precision
- The target precision.radix
- The radix to be used.ApfloatRuntimeException
public Apfloat execute()
Pi.RamanujanPiCalculator
execute
in interface Operation<Apfloat>
execute
in class PiParallel.ParallelRamanujanPiCalculator