< prev index next >

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

Print this page

        

@@ -641,11 +641,13 @@
      *
      * @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);
+    public static double pow(double a, double b) {
+        return FdLibm.Pow.compute(a, b);
+    }
 
     /**
      * Returns the closest {@code int} to the argument, with ties
      * rounding to positive infinity.
      *
< prev index next >