< prev index next >

src/java.base/share/classes/java/lang/StrictMath.java

Print this page

        

*** 225,235 **** * * @param a the exponent to raise <i>e</i> to. * @return the value <i>e</i><sup>{@code a}</sup>, * where <i>e</i> is the base of the natural logarithms. */ ! public static native double exp(double a); /** * Returns the natural logarithm (base <i>e</i>) of a {@code double} * value. Special cases: * <ul><li>If the argument is NaN or less than zero, then the result --- 225,237 ---- * * @param a the exponent to raise <i>e</i> to. * @return the value <i>e</i><sup>{@code a}</sup>, * where <i>e</i> is the base of the natural logarithms. */ ! public static double exp(double a) { ! return FdLibm.Exp.compute(a); ! } /** * Returns the natural logarithm (base <i>e</i>) of a {@code double} * value. Special cases: * <ul><li>If the argument is NaN or less than zero, then the result
< prev index next >