Package org.apfloat
Class EulerHelper
java.lang.Object
org.apfloat.EulerHelper
Helper class for computing the Euler gamma using binary splitting and the Brent-McMillan formula.
- Since:
- 1.11.0
- Version:
- 1.11.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Apfloat
euler
(long precision, int radix) private void
euler
(long a, long b, ApfloatMath.ApfloatHolder P, ApfloatMath.ApfloatHolder Q, ApfloatMath.ApfloatHolder R, ApfloatMath.ApfloatHolder S, ApfloatMath.ApfloatHolder T, ApfloatMath.ApfloatHolder U, ApfloatMath.ApfloatHolder V)
-
Field Details
-
ALPHA
private static final double ALPHA- See Also:
-
n2
-
precision
private final long precision -
radix
private final int radix
-
-
Constructor Details
-
EulerHelper
- Throws:
ApfloatRuntimeException
-
-
Method Details
-
euler
- Throws:
ApfloatRuntimeException
-
euler
private void euler(long a, long b, ApfloatMath.ApfloatHolder P, ApfloatMath.ApfloatHolder Q, ApfloatMath.ApfloatHolder R, ApfloatMath.ApfloatHolder S, ApfloatMath.ApfloatHolder T, ApfloatMath.ApfloatHolder U, ApfloatMath.ApfloatHolder V) throws ApfloatRuntimeException - Throws:
ApfloatRuntimeException
-