xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53327] [PATCH] DoubleFormatUtil does not work with huge precision
Date Tue, 05 Jun 2012 12:40:15 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53327

Julien Aymé <julien.ayme@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |REOPENED
         Resolution|FIXED                       |---

--- Comment #11 from Julien Aymé <julien.ayme@gmail.com> ---
I found the last (I hope) really rare bugs:
- The first one is due to long <-> double conversion error in
DoubleFormatUtil.format private method
- The second is due to a rounding error in double division in
DoubleFormatUtil.isRoundedToZero private method when rounding an exact value
5e-N value for certain value of N (when scale = N-1).

Patch for test case and class will follow.
Hopefully I won't find any bug concerning this class anymore.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message