[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/28462] NumberFormat truncates large integers
From: |
neugens at limasoftware dot net |
Subject: |
[Bug classpath/28462] NumberFormat truncates large integers |
Date: |
23 Jul 2006 13:48:47 -0000 |
------- Comment #2 from neugens at limasoftware dot net 2006-07-23 13:48
-------
Yes, I can confirm it.
The problem is that we use format(long ...) to format long and format(double
...) for everything else, that is, even our format(Object ... ) calls
internally format(double), which is clearly wrong.
My idea here is to stay with double for all the Objects, even Integers/Bytes
etc.. as a double can store everything without precision loss, and to have
special care of BigIntegers and BigDecimals.
I'm just trying to figure the best way to do this...
You can assign this bug to me if you want, I'll take care of it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28462