Package org.apfloat
Class ApfloatMath.PiCalculator
- java.lang.Object
-
- org.apfloat.ApfloatMath.PiCalculator
-
- Enclosing class:
- ApfloatMath
private static class ApfloatMath.PiCalculator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PiCalculator(int radix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Apfloata(long n)private Apfloatp(long n)private Apfloatq(long n)voidr(long n1, long n2, ApfloatMath.ApfloatHolder T, ApfloatMath.ApfloatHolder Q, ApfloatMath.ApfloatHolder P)
-
-
-
Constructor Detail
-
PiCalculator
public PiCalculator(int radix) throws ApfloatRuntimeException- Throws:
ApfloatRuntimeException
-
-
Method Detail
-
a
private Apfloat a(long n) throws ApfloatRuntimeException
- Throws:
ApfloatRuntimeException
-
p
private Apfloat p(long n) throws ApfloatRuntimeException
- Throws:
ApfloatRuntimeException
-
q
private Apfloat q(long n) throws ApfloatRuntimeException
- Throws:
ApfloatRuntimeException
-
r
public void r(long n1, long n2, ApfloatMath.ApfloatHolder T, ApfloatMath.ApfloatHolder Q, ApfloatMath.ApfloatHolder P) throws ApfloatRuntimeException- Throws:
ApfloatRuntimeException
-
-