On Mon, 5 Feb 2024 04:25:16 GMT, Chris Hennick <d...@openjdk.org> wrote:

> This provides a slightly more accurate bounding limit for 
> `computeNextExponentialSoftCapped` when calling it from 
> `computeNextGaussian`. This could cause the `while 
> (computeNextExponentialSoftCapped(rng, limit) < limit)` check in 
> `computeNextGaussian` on line 1402 to always be true, making the 
> `nextGaussian` runtime unbounded in the worst case; but more likely, it would 
> give a result that was truncated too close to zero.
> 
> This change is being tested prior to submission to OpenJDK by 
> https://github.com/openjdk/jdk/pull/17703/commits/b8be051cbf40a6a05fafc6a2c76942e9e0b11fdf.

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.org/jdk/pull/17703

Reply via email to