RFR: JDK-8303794: IEEEremainder problems are causing test failures after JDK-8302801

Raffaello Giulietti rgiulietti at openjdk.org
Wed Mar 8 11:03:16 UTC 2023


On Wed, 8 Mar 2023 01:30:58 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> Quick port of IEEEremainder; sorry for missing this earlier. Will add targeted tests in a follow-up fix.

src/java.base/share/classes/java/lang/FdLibm.java line 3437:

> 3435:                 return Zero[sx>>>31]; // unsigned shift
> 3436:             while(Integer.compareUnsigned(hx, 0x00100000) < 0) {          /* normalize x */
> 3437:                 hx = hx+hx+(lx>>31); lx = lx+lx;

Should be `>>>`

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

PR: https://git.openjdk.org/jdk/pull/12915


More information about the core-libs-dev mailing list