RFR: 8368349: Add library notes discussing abs and IEEE 754 operations

Raffaello Giulietti rgiulietti at openjdk.org
Tue Sep 23 13:08:33 UTC 2025


On Tue, 23 Sep 2025 03:02:32 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> Add apiNote linking {Math, StrictMath}.abs to the IEEE 754 abs operation.

@jddarcy Why can't we simply require a zero sign bit, like IEEE 754 does?
After all, IIUC this is exactly what the implementation does.

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

PR Comment: https://git.openjdk.org/jdk/pull/27443#issuecomment-3323939446


More information about the core-libs-dev mailing list