Class Exp
java.lang.Object
de.tilman_neumann.jml.transcendental.Exp
public class Exp
extends java.lang.Object
Implementation of the exponential function for big decimals.
-
Constructor Summary
Constructors Constructor Description Exp()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Exp
public Exp()
-
-
Method Details
-
exp
-
exp
Compute exp(w) using a more powerful argument reduction. This function uses the transform exp(w)=exp(x)^(2^K) with x=w*2^(-K). This way, we can bring the argument to develop in a power series arbitrarily near to 0 with very high convergence speed.- Parameters:
w
- argumentoutScale
- wanted precision in after-floating point decimal digits- Returns:
- exp(w)
-
main
public static void main(java.lang.String[] argv)Test.- Parameters:
argv
- ignored
-