Re: BigDecimal mauve regressions (FYI: patch)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sven,

On Fri, 2006-07-28 at 10:44 +0200, Sven de Marothy wrote:
> 2006-07-27  Sven de Marothy  <>
> 
> * java/math/BigDecimal.java
> Adjust copyright date.
> (divide(BigDecimal): Implement.
> (precision): Reimplement.
> (numDigitsInBigInteger, numDigitsInLong): Removed.
> (toString): Get exponent from string length, 
> fix negative values with exponential form.
> (toEngineeringString): Same as for toString. 
> (setScale): Throw ArithmeticException if scale < 0.

Thanks. And nice simplification.
Committed to release and generics branch.

Did you also happen to look at the DiagBigDecimal test? It passed with
0.91, but current CVS (with or without you patch) gives the following
failures:

FAIL: java.math.BigDecimal.DiagBigDecimal
  line 1312: add098 [1] -- boolean passed to check was false
  line 1315: add101 [1] -- boolean passed to check was false
  line 1332: add116 [1] -- boolean passed to check was false
  line 1335: add129 [1] -- boolean passed to check was false
  line 1434: div376 [1] -- boolean passed to check was false
  line 1435: div377 [1] -- boolean passed to check was false
  line 1450: div203 [1] -- boolean passed to check was false
  line 1553: mul038 [1] -- boolean passed to check was false
  line 1559: mul040 [1] -- boolean passed to check was false
  line 1560: mul042 [1] -- boolean passed to check was false
  line 2087: mpl007 [1] -- boolean passed to check was false
  line 2095: mpl010 [1] -- boolean passed to check was false
  line 2103: mpl026 [1] -- boolean passed to check was false
  line 2111: mpl036 [1] -- boolean passed to check was false
  line 2125: mpr007 [1] -- boolean passed to check was false
  line 2133: mpr016 [1] -- boolean passed to check was false
  line 2141: mpr026 [1] -- boolean passed to check was false
  line 2149: mpr036 [1] -- boolean passed to check was false
  line 2161: sca005 [1] -- boolean passed to check was false
  line 2163: sca007 [1] -- boolean passed to check was false
  line 2387: val021 [1] -- boolean passed to check was false
  line 2399: val100 [1] -- boolean passed to check was false

Cheers,

Mark



[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux