Re: [xslt] floating point conversion



Vincent Lefevre writes:
>I fear that's not sufficient. A few lines above, the multiplications
>by 10 and additions introduce rounding errors for 17 digits and more.
>An integer just below a rounding boundary will probably not be rounded
>correctly.

[repeating my bugzilla comment]

We can just use strtod(), which handle both my fractional issue and
your big number issue perfectly.  Unless there are objections, I'll
redo the patch on Monday.

Thanks,
 Phil


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]