Request for approval: fix 4428022, System.out.println(0.001) outputs 0.0010

Alan Bateman Alan.Bateman at Sun.COM
Fri May 22 20:56:37 UTC 2009


Andrew Haley wrote:
> :
> OK, here it is.  I put the test in java/lang/Double/ToString.java
> rather than sun/misc/FloatingDecimal because the bug manifested
> itself in Double.toString although the fix was in
> FloatingDecimal.dtoa.
>   
I agree that test/java/lang/Double is the best place for this. All looks 
good to me (except minor nit, "String argv[]" -> "String[] args").  Joe, 
are you okay with this?

-Alan.



More information about the core-libs-dev mailing list