< prev index next >
src/java.base/share/classes/java/lang/StrictMath.java
Print this page
*** 641,651 ****
*
* @param a base.
* @param b the exponent.
* @return the value {@code a}<sup>{@code b}</sup>.
*/
! public static native double pow(double a, double b);
/**
* Returns the closest {@code int} to the argument, with ties
* rounding to positive infinity.
*
--- 641,653 ----
*
* @param a base.
* @param b the exponent.
* @return the value {@code a}<sup>{@code b}</sup>.
*/
! public static double pow(double a, double b) {
! return FdLibm.Pow.pow(a, b);
! }
/**
* Returns the closest {@code int} to the argument, with ties
* rounding to positive infinity.
*
< prev index next >