RFR: 8255368: Math.exp() gives wrong result for large values on x86 32-bit platforms [v3]
Joe Darcy
joe.darcy at oracle.com
Tue Nov 10 19:04:07 UTC 2020
On 11/9/2020 2:12 PM, Xubo Zhang wrote:
> On Mon, 2 Nov 2020 17:42:27 GMT, Joe Darcy <darcy at openjdk.org> wrote:
>
>>> Xubo Zhang has updated the pull request incrementally with two additional commits since the last revision:
>>>
>>> - Merge branch 'JDK-8255368' of github.com:xbzhang99/bugfixes into JDK-8255368
>>> - Added test cases for exp at the value of 1024 and 10000
>> The regression tests for exp should be explicitly updated to cover the previously erroneous input if they do not do so already.
> Hi Darcy,
> Where should the test be? A new test file?
>
Given the absence of an existing dedicated exp test, yes, a new file in
the test/jdk/java/lang/Math directory.
I suggest looking at Atan2Tests.java as a model for another test that
just probes a few values.
HTH,
-Joe
More information about the hotspot-dev
mailing list