JDK-4851776 : Allow control of precision and rounding of BigDecimal arithmetic operations
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.math
  • Affected Version: 1.2.2_10,5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic,sparc
  • Submitted: 2003-04-22
  • Updated: 2022-02-24
  • 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
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
This bug is a marker for the first portion of jsr13: adding new arithmetic methods that take a MathContext object which affects what rounding mode is used and how many digits the returned result has.  (Currently, all BigDecimal operations other than divide and setScale always return the exact result.)  This work also introduces a small MathContext class and a RoundingMode typesafe enum.

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

EVALUATION Initial portion of jsr13. ###@###.### 2003-04-21
21-04-2003