-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
tiger
-
generic
-
generic
Among the changes in jsr13 is the introduction of a RoundinMode enum class to replace uses of an integer enum pattern of rounding modes defined in BigDecimal. The initial jsr13 proposal added a parallel method taking a RoundingMode object instead of an integer for one of the three uses of rounding mode integers as parameters. The parallel method added was setScale; this bug is to add parallel methods for the other two uses; i.e. augment
divide(BigDecimal divisor, int roundingMode)
divide(BigDecimal divisor, int scale, int roundingMode)
with
divide(BigDecimal divisor, RoundingMode)
divide(BigDecimal divisor, int scale, RoundingMode)
divide(BigDecimal divisor, int roundingMode)
divide(BigDecimal divisor, int scale, int roundingMode)
with
divide(BigDecimal divisor, RoundingMode)
divide(BigDecimal divisor, int scale, RoundingMode)
- relates to
-
JDK-4851776 Allow control of precision and rounding of BigDecimal arithmetic operations
-
- Resolved
-
-
JDK-4609098 Add Decimal Arithmetic Enhancements into J2SE (JSR-013)
-
- Closed
-