RFR: 8369123: Still more small Float16 refactorings [v2]

ExE Boss duke at openjdk.org
Sun Oct 5 04:09:50 UTC 2025


On Sat, 4 Oct 2025 07:04:03 GMT, Eirik Bjørsnøs <eirbjo at openjdk.org> wrote:

> ```
> // IEEEremainder / remainder operator remainder
> ```
> Would one remainder suffice for this remainder reminder?

`IEEEremainder` differs from the Java language remainder operator, due to the difference in rounding policy.

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

Refs:
- https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-6.html#jvms-6.5.drem
- https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Math.html#IEEEremainder(double,double)

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

PR Comment: https://git.openjdk.org/jdk/pull/27625#issuecomment-3368730414


More information about the core-libs-dev mailing list