Package org.apfloat
Class ApfloatMath.PiCalculator
java.lang.Object
org.apfloat.ApfloatMath.PiCalculator
- Enclosing class:
ApfloatMath
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate 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)
-
Field Details
-
A
-
B
-
J
-
ONE
-
TWO
-
FIVE
-
SIX
-
radix
private int radix
-
-
Constructor Details
-
PiCalculator
- Throws:
ApfloatRuntimeException
-
-
Method Details
-
a
- Throws:
ApfloatRuntimeException
-
p
- Throws:
ApfloatRuntimeException
-
q
- Throws:
ApfloatRuntimeException
-
r
public void r(long n1, long n2, ApfloatMath.ApfloatHolder T, ApfloatMath.ApfloatHolder Q, ApfloatMath.ApfloatHolder P) throws ApfloatRuntimeException - Throws:
ApfloatRuntimeException
-