Re: [PATCH] java.math/4428022 Float/Double.toString trailing zeros

2007-10-05 Thread Joseph D. Darcy
Hi Keith. Thanks for your patch with test. I'll try to look into incorporating this soon (I'm busy with OpenJDK 6). -Joe Keith Seitz wrote: Hi, I believe the attached patch fixes the trailing zero problem mentioned in several bugs (in addition to $SUBJECT), including 4511638, 6575880, and

[PATCH] java.math/4428022 Float/Double.toString trailing zeros

2007-09-26 Thread Keith Seitz
Hi, I believe the attached patch fixes the trailing zero problem mentioned in several bugs (in addition to $SUBJECT), including 4511638, 6575880, and 4191279. The problem arises because sun.misc.FloatingDecimal.getChars and sun.misc.FloatingDecimal.dtoa disagree about when numbers are represen