[Bug libgcj/23466] Double.toString(0.0010) ---> "0.001" ISO "0.0010"

veldema at cs dot fau dot de gcc-bugzilla@gcc.gnu.org
Mon Aug 22 12:18:00 GMT 2005


------- Additional Comments From veldema at cs dot fau dot de  2005-08-22 12:18 -------
Confirmed, this is a bug in SUN's JDK since 2001.
Perhaps a a bug should be introduced to make libgcj/classpath bug compatible ?
if (double_string == "0.00x" && x != '0') return return "0.00x0" 
should do the trick.
Ronald.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23466



More information about the Java-prs mailing list