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 Apfloat
a(long n)
private Apfloat
p(long n)
private Apfloat
q(long n)
void
r(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
-
-