-
Bug
-
Resolution: Fixed
-
P3
-
None
-
generic
-
generic
With power of 2 values Math.pow has reduced performance. The developer can work around the issue with code similar to the one below:
if (y == 2) {
return y * y;
}
return Math.pow(x, y);
if (y == 2) {
return y * y;
}
return Math.pow(x, y);
- relates to
-
JDK-8029302 Performance regression in Math.pow intrinsic
-
- Resolved
-