org.apfloat.samples
Class Pi.ChudnovskyBinarySplittingSeries
java.lang.Object
org.apfloat.samples.Pi.AbstractBinarySplittingSeries
org.apfloat.samples.Pi.ChudnovskyBinarySplittingSeries
- All Implemented Interfaces:
- Serializable, Pi.BinarySplittingSeries
- Enclosing class:
- Pi
protected static class Pi.ChudnovskyBinarySplittingSeries
- extends Pi.AbstractBinarySplittingSeries
Chudnovskys' algorithm terms for the binary splitting series.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pi.ChudnovskyBinarySplittingSeries
public Pi.ChudnovskyBinarySplittingSeries(long precision,
int radix)
- Default constructor.
a
public Apfloat a(long n)
throws ApfloatRuntimeException
- Throws:
ApfloatRuntimeException
p
public Apfloat p(long n)
throws ApfloatRuntimeException
- Throws:
ApfloatRuntimeException
q
public Apfloat q(long n)
throws ApfloatRuntimeException
- Throws:
ApfloatRuntimeException