Tiger Prototype build back_log bug
java.math.BigDecimal : add(augend ,mc)
Not working as per expected for the following data points:
String double01 = "80791306.25";
String double02 = "1958280977.5";
Note: also fails in
precision=1 roundingMode=CEILING
precision=1 roundingMode=DOWN
precision=1 roundingMode=FLOOR
The java version used and output is:
-----------------------------------
java version "1.5.0-internal"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-internal-darcy_06_
aug_2003_22_50)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b14, mixed mode)
D:\shantaram\tiger\maths\bugs\bug9_v1>java TestAddDataPoint01
precision=1 roundingMode=UP
result toString() = 2E+9 result scale = -9
expected toString() = 3E+9 expected scale = -9
The test program is attached.
java.math.BigDecimal : add(augend ,mc)
Not working as per expected for the following data points:
String double01 = "80791306.25";
String double02 = "1958280977.5";
Note: also fails in
precision=1 roundingMode=CEILING
precision=1 roundingMode=DOWN
precision=1 roundingMode=FLOOR
The java version used and output is:
-----------------------------------
java version "1.5.0-internal"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-internal-darcy_06_
aug_2003_22_50)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b14, mixed mode)
D:\shantaram\tiger\maths\bugs\bug9_v1>java TestAddDataPoint01
precision=1 roundingMode=UP
result toString() = 2E+9 result scale = -9
expected toString() = 3E+9 expected scale = -9
The test program is attached.