JDK-8029695 : Math.pow regression with power of 2 values
  • Type: Bug
  • Component: docs
  • Sub-Component: release_notes
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2013-12-06
  • Updated: 2014-01-08
  • Resolved: 2014-01-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
Related Reports
Relates :  
Description
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);


Comments
Added release note to Known Issues section and linked to 8029302
08-01-2014