org.apfloat.samples
Class PiDistributed.DistributedRamanujanPiCalculator
java.lang.Object
org.apfloat.samples.PiParallel.ParallelRamanujanPiCalculator
org.apfloat.samples.PiDistributed.DistributedRamanujanPiCalculator
- All Implemented Interfaces:
- Serializable, Operation<Apfloat>
- Enclosing class:
- PiDistributed
public static class PiDistributed.DistributedRamanujanPiCalculator
- extends PiParallel.ParallelRamanujanPiCalculator
Class for calculating pi using the distributed Ramanujan's binary splitting algorithm.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PiDistributed.DistributedRamanujanPiCalculator
public PiDistributed.DistributedRamanujanPiCalculator(long precision,
int radix)
throws ApfloatRuntimeException
- Construct a pi calculator with the specified precision and radix.
- Parameters:
precision
- The target precision.radix
- The radix to be used.
- Throws:
ApfloatRuntimeException