jdk/src/java.base/share/classes/java/lang/StrictMath.java
changeset 32655 8dfeae0ff332
parent 31671 362e0c0acece
child 32765 b65c2f5d4d01
--- a/jdk/src/java.base/share/classes/java/lang/StrictMath.java	Thu Sep 17 18:04:53 2015 +0200
+++ b/jdk/src/java.base/share/classes/java/lang/StrictMath.java	Thu Sep 17 13:43:06 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -643,7 +643,9 @@
      * @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