* According to sun's spec, exponential format may have a fractional part. * Minimum/Maximum digits function must update maximum/minimum fields accordingly. As this is done by super delegate the work to it. This patch fixes this two issues.
I created two new Mauve tests. gnu/testlet/java/text/DecimalFormat/digits.java Which shows that the Minimum/Maximum digits function weren't functioning correctly. gnu/testlet/java/text/DecimalFormat/formatExp.java Which tests some exponentional formats (and shows some errors even with this patch).
Applied as: 2003-09-09 Guilhem Lavaux <guilhem@kaffe.org> * java/text/DecimalFormat.java (format): Don't immediatly round baseNumber to long. (setMinimumIntegerDigits): Call super. (setMinimumFractionDigits): Likewise. (setMaximumIntegerDigits): Likewise. (setMaximumFractionDigits): Likewise. Thanks.