JEP proposed to target JDK 17: 306: Restore Always-Strict Floating-Point Semantics

mark.reinhold at oracle.com mark.reinhold at oracle.com
Fri May 21 23:03:46 UTC 2021


The following JEP is proposed to target JDK 17:

  306: Restore Always-Strict Floating-Point Semantics
       https://openjdk.java.net/jeps/306

  Summary: Make floating-point operations consistently strict, rather
  than have both strict floating-point semantics (strictfp) and subtly
  different default floating-point semantics. This will restore the
  original floating-point semantics to the language and VM, matching the
  semantics before the introduction of strict and default floating-point
  modes in Java SE 1.2.

Feedback on this proposal from JDK Project Committers and Reviewers [1]
is more than welcome, as are reasoned objections.  If no such objections
are raised by 23:59 UTC on Friday, 28 May, or if they’re raised and
then satisfactorily answered, then per the JEP 2.0 process proposal [2]
I’ll target this JEP to JDK 17.

- Mark


[1] https://openjdk.java.net/census#jdk
[2] https://cr.openjdk.java.net/~mr/jep/jep-2.0-02.html


More information about the jdk-dev mailing list