RFR: JDK-8301205: Port fdlibm log10 to Java [v2]
Joe Darcy
darcy at openjdk.org
Fri Jan 27 17:53:44 UTC 2023
On Fri, 27 Jan 2023 13:47:07 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:
>> src/java.base/share/classes/java/lang/FdLibm.java line 820:
>>
>>> 818: hx = (hx & 0x000f_ffff) | ((0x3ff - i) << 20);
>>> 819: y = (double)(k + i);
>>> 820: x = __HI(x, hx);
>>
>> ` x = __HI(x, hx); // replace high word of x with hx`
>
> Otherwise LGTM
Okay; comment added back.
-------------
PR: https://git.openjdk.org/jdk/pull/12242
More information about the core-libs-dev
mailing list