[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #4900] DecimalFormat misbehaviour
From: |
nobody |
Subject: |
[bug #4900] DecimalFormat misbehaviour |
Date: |
Tue, 09 Sep 2003 17:19:48 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686) Gecko/20030827 Galeon/1.3.7 Debian/1.3.7.20030902-1 |
=================== BUG #4900: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4900&group_id=85
Changes by: Mark Wielaard <address@hidden>
Date: Tue 09/09/03 at 23:19 (Europe/Amsterdam)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Assigned to | None | mark
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
Applied as:
2003-09-09 Guilhem Lavaux <address@hidden>
* java/text/DecimalFormat.java (format): Don't immediatly round
baseNumber to long.
(setMinimumIntegerDigits): Call super.
(setMinimumFractionDigits): Likewise.
(setMaximumIntegerDigits): Likewise.
(setMaximumFractionDigits): Likewise.
Thanks.
=================== BUG #4900: FULL BUG SNAPSHOT ===================
Submitted by: glavaux Project: classpath
Submitted on: Fri 08/22/03 at 11:13
Severity: 5 - Major Resolution: Fixed
Assigned to: mark Status: Closed
Platform Version: None
Summary: DecimalFormat misbehaviour
Original Submission: * 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.
Follow-up Comments
*******************
-------------------------------------------------------
Date: Tue 09/09/03 at 23:19 By: mark
Applied as:
2003-09-09 Guilhem Lavaux <address@hidden>
* java/text/DecimalFormat.java (format): Don't immediatly round
baseNumber to long.
(setMinimumIntegerDigits): Call super.
(setMinimumFractionDigits): Likewise.
(setMaximumIntegerDigits): Likewise.
(setMaximumFractionDigits): Likewise.
Thanks.
-------------------------------------------------------
Date: Sun 09/07/03 at 14:54 By: mark
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).
CC list is empty
File Attachments
****************
-------------------------------------------------------
Date: Fri 08/22/03 at 11:13 Name: text_diff_1 Size: 1KB By: glavaux
http://savannah.gnu.org/bugs/download.php?group_id=85&bug_id=4900&bug_file_id=617
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4900&group_id=85
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/