RFR: 8370370: Add still more cases to WorstCaseTests [v2]

Joe Darcy darcy at openjdk.org
Mon Oct 27 16:33:06 UTC 2025


On Mon, 27 Oct 2025 16:30:03 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> @jddarcy Can you check the discrepancy in the argument?
>
>> @jddarcy Can you check the discrepancy in the argument?
> 
> This test case is commented out in WorstCaseTests since it is larger than 1 ulp. To compensate, I made sure the hyperbolics had these values added to their StrictMath tests.
> 
> (There are utility methods in the testing library than can test for multiple ulp errors, but we'd have to so something like ceil(ulps) plus one or two to make that work.)

I could add a comment in the hyperbolics saying "See StrictMath tests" if you think that would clarify the situation.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27939#discussion_r2466323857


More information about the core-libs-dev mailing list