PK97049: BIGDECIMAL.ROUND_HALF_DOWN AND BIGDECIMAL.ROUND_HALF_EVEN RETURN S WRONG VALUE.
Closed as program error.
Error Message: BIGDECIMAL.ROUND_HALF_DOWN and BIGDECIMAL.ROUND_HALF_EVEN RETURNS WRONG VALUE. . Stack Trace: N/A . N/A
ROUND HALF DOWN and ROUND HALF EVEN modes of BigDecimal.java not working properly.Two issues :- 1) When the divisor is negative, its not taking care of the signs in all cases for ROUND HALF DOWN and ROUND HALF EVEN. 2) Long overflow of an intermittent value used in computing ROUND_HALF_DOWN rounding or ROUND_HALF_EVEN rounding invoking ROUND_HALF_DOWN rounding.
This defect will be fixed in: 1.4.2 SR13-FP3 . The BigDecimal code has been updated to take care of signs in all cases for ROUND HALF DOWN and ROUND HALF EVEN. The BigDecimal code also has been updated to avoid overflow of an intermittent value used in computing ROUND_HALF_DOWN and ROUND_HALF_EVEN rounding invoking ROUND_HALF_DOWN rounding. . To obtain the fix: Install build 20091018 or later
Reported component name
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
Fixed component ID
Applicable component levels