[kaffe] Re: The problem of "Double.c and buggy strtod" is settled

Ito Kazumitsu ito.kazumitsu at hitachi-cable.co.jp
Fri Jun 6 05:03:02 PDT 2003


In message "Re: [kaffe] Re: The problem of "Double.c and buggy strtod" is settled"
    on 03/06/06, Ito Kazumitsu <ito.kazumitsu at hitachi-cable.co.jp> writes:

> But diff test/regression/DoublePrint.out test/regression/DoublePrint.fail
> is only this:
> 
> 10c10
> <   4.9E-324
> ---
> >   4.9406564584125E-324
> 
> I think this difference is ignoreable.

This difference comes from the the difference of behaviors of strtod.

Good strtod:

   4.9E-324 == 4.9406564584125E-324 == Double.MIN_VALUE
   So it is printed in the minimum precision.

My poor strtod:

   String other than "4.9406564584124654418e-324" cannot be
   Double.MIN_VALUE.  So maximum precision is required for
   printing Double.MIN_VALUE.




More information about the kaffe mailing list