JDK-7074799 : 4.2: Adopt IEEE 754-2019 terminology in JLS
  • Type: Enhancement
  • Component: specification
  • Sub-Component: language
  • Affected Version: 14
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2011-08-04
  • Updated: 2021-09-03
  • Resolved: 2020-05-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 15
15Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
The venerable IEEE 754 floating-point standard from 1985 was retired and replaced with a revised standard from 2008 and a further revision in 2019.  The Java Language Specification rules of floating-point should be reviewed to account for updates in the standard for terminology, etc.

The terminology changes include between IEEE 754 1985 and 2019 include:

* IEEE 754 Standard for Binary Floating-Point Arithmetic -> IEEE 754 Standard for Floating-Point Arithmetic
* single -> binary32 ("single" in the context of IEEE 754-1985 single format specifically)
* double -> binary64 ("double" in the context of IEEE 754-1985 double format specifically)
* denormalized -> subnormal
* round to nearest mode -> roundTiesToEven mode
* round towards zero mode -> roundTowardZero mode

The terms "binary32" and "binary64" are not typographically distinguished in any way in the IEEE 754-2019 specification.
Comments
Discussion on jdk-dev: https://mail.openjdk.java.net/pipermail/jdk-dev/2020-April/004269.html
22-04-2020

Along the lines of the prior comment by [~smarks], I believe this is a good opportunity to deprecate-for-removal the static int fields in java.math.BigDecimal. 15 will ship three years after they were deprecated in 9 -- let's get on with it.
02-04-2020

Parts of the Java SE API specification might also need a look. I'm thinking of stuff in java.lang.Math and java.math.*.
05-03-2020

Changes out for review.
02-03-2020

@Joe, please provide specific changes to JLS text by October 14, or else retarget this bug for 9.
07-10-2013