RFR: 8346931: Replace divisions by zero in sharedRuntimeTrans.cpp [v2]

Matthias Baesken mbaesken at openjdk.org
Mon Mar 24 13:08:48 UTC 2025


On Mon, 24 Mar 2025 05:37:24 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   replace more divisons by 0
>
> src/hotspot/share/runtime/sharedRuntimeTrans.cpp line 518:
> 
>> 516:       z = ax;                   /*x is +-0,+-inf,+-1*/
>> 517:       if(hy<0) {
>> 518:         if (z == 0.0) {
> 
> Maybe s/z == 0.0/ix == 0/ ?

Hi Kim, why ix and not x ? Is it a typo?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24136#discussion_r2010143274


More information about the hotspot-dev mailing list