JDK-4902952 : Remove jsr13 zero canonicalization requirement
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.math
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-08-07
  • Updated: 2017-05-16
  • Resolved: 2003-08-30
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.
Other
5.0 tigerFixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
The first proposed final draft and the draft of jsr13 from bug 4851776 include a requirement that 

"If the result of an operation has the value zero, its scale is 0."

This is not consistent with the existing behavior of exact arithmetic methods, nor is it consistent with the behavior of other decimal arithmetic packages, including the forthcoming decimal section of IEEE 754R.

The working implemenation enforces the zero canonicallization in some situations but not others.

The zero canonicalization requirement should be removed and the usual scale rules apply to zeros too.


Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b18
14-06-2004

EVALUATION A fine idea. ###@###.### 2003-08-07
07-08-2003