-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
22
A DESCRIPTION OF THE PROBLEM :
As of https://github.com/openjdk/jdk/commit/f975be44a86879e1079a0066203b49d59b7a1167 , RandomSupport::computeNextExponentialSoftCapped may incorrectly round toward zero when calculating `maxExtraMinus1`. This can cause it to impose a smaller cap than was specified. The only public function affected is `computeNextGaussian`, where the condition on line 1402 may fail to ever be satisfied.
REGRESSION : Last worked in version 21.0.2
FREQUENCY : rarely
As of https://github.com/openjdk/jdk/commit/f975be44a86879e1079a0066203b49d59b7a1167 , RandomSupport::computeNextExponentialSoftCapped may incorrectly round toward zero when calculating `maxExtraMinus1`. This can cause it to impose a smaller cap than was specified. The only public function affected is `computeNextGaussian`, where the condition on line 1402 may fail to ever be satisfied.
REGRESSION : Last worked in version 21.0.2
FREQUENCY : rarely
- relates to
-
JDK-8284493 Improve computeNextExponential tail performance and accuracy
- Resolved
- links to
-
Review(master) openjdk/jdk/17703