Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-08-09 Thread Chris Hennick
On Wed, 12 Jun 2024 09:35:12 GMT, Jaikiran Pai wrote: >> Chris Hennick has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Bug fix: add-exports was for wrong package > > test/jdk/jdk/internal/util/random/RandomSupportTest.java line 32: > >>

Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-08-09 Thread Chris Hennick
On Wed, 12 Jun 2024 08:16:25 GMT, Jaikiran Pai wrote: >> Chris Hennick has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Bug fix: add-exports was for wrong package > > src/java.base/share/classes/jdk/internal/util/random/RandomSupport.java

Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-08-09 Thread Chris Hennick
On Wed, 12 Jun 2024 09:23:23 GMT, Jaikiran Pai wrote: >> Chris Hennick has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Bug fix: add-exports was for wrong package > > test/jdk/jdk/internal/util/random/RandomSupportTest.java line 5: > >>

Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-08-09 Thread Chris Hennick
On Wed, 12 Jun 2024 10:08:02 GMT, Jaikiran Pai wrote: >>> Update: confirmed that the new test fails without the fix. >> >> Thanks for verifying the test checks the fix; I'll let others who have >> worked more directly on the random code review the actual fix. > >> @jddarcy Added a regression te

Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-06-12 Thread Jaikiran Pai
On Thu, 22 Feb 2024 05:40:10 GMT, Joe Darcy wrote: >> Update: confirmed that the new test fails without the fix. > >> Update: confirmed that the new test fails without the fix. > > Thanks for verifying the test checks the fix; I'll let others who have worked > more directly on the random code r

Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-06-12 Thread Jaikiran Pai
On Wed, 21 Feb 2024 02:18:08 GMT, Chris Hennick 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

Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-06-12 Thread Jaikiran Pai
On Wed, 21 Feb 2024 02:18:08 GMT, Chris Hennick 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

Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-06-12 Thread Jaikiran Pai
On Wed, 21 Feb 2024 02:18:08 GMT, Chris Hennick 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

Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-06-12 Thread Jaikiran Pai
On Wed, 21 Feb 2024 02:18:08 GMT, Chris Hennick 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

Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-06-12 Thread Jaikiran Pai
On Wed, 21 Feb 2024 02:18:08 GMT, Chris Hennick 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

Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-06-06 Thread Chris Hennick
On Wed, 21 Feb 2024 02:18:08 GMT, Chris Hennick 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

Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-06-05 Thread Jaikiran Pai
On Thu, 9 May 2024 03:55:15 GMT, Chris Hennick wrote: >> Chris Hennick has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Bug fix: add-exports was for wrong package > > Keep open. > > @JimLaskey it looks like you're the author of most of

Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-05-08 Thread Chris Hennick
On Wed, 21 Feb 2024 02:18:08 GMT, Chris Hennick 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

Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-04-10 Thread Chris Hennick
On Wed, 21 Feb 2024 02:18:08 GMT, Chris Hennick 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

Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-02-29 Thread Raffaello Giulietti
On Thu, 29 Feb 2024 01:54:54 GMT, Chris Hennick wrote: >> Chris Hennick has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Bug fix: add-exports was for wrong package > > @turbanoff @rgiulietti This is a follow-up to my previously merged #81

Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-02-28 Thread Chris Hennick
On Wed, 21 Feb 2024 02:18:08 GMT, Chris Hennick wrote: >> This provides a slightly more accurate bounding limit for >> `computeNextExponentialSoftCapped` when the computed bound is greater than >> `(1.0p53 - 1.0) * DoubleZigguratTables.exponentialX0`. This could cause the >> `while (computeNex

Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-02-21 Thread Joe Darcy
On Thu, 22 Feb 2024 03:01:58 GMT, Chris Hennick wrote: > Update: confirmed that the new test fails without the fix. Thanks for verifying the test checks the fix; I'll let others who have worked more directly on the random code review the actual fix. - PR Comment: https://git.openj

Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-02-21 Thread Chris Hennick
On Wed, 21 Feb 2024 02:18:08 GMT, Chris Hennick wrote: >> This provides a slightly more accurate bounding limit for >> `computeNextExponentialSoftCapped` when the computed bound is greater than >> `(1.0p53 - 1.0) * DoubleZigguratTables.exponentialX0`. This could cause the >> `while (computeNex

Re: RFR: 8326227: Rounding error that may distort computeNextGaussian results [v3]

2024-02-20 Thread Chris Hennick
> This provides a slightly more accurate bounding limit for > `computeNextExponentialSoftCapped` when the computed bound is greater than > `(1.0p53 - 1.0) * DoubleZigguratTables.exponentialX0`. This could cause the > `while (computeNextExponentialSoftCapped(rng, limit) < limit)` check in > `com