bug in atof

Tobias Burnus burnus at gmx.de
Sat Jan 21 10:30:36 CST 2006


Peter Beutner schrieb:
> It doesn't parse 'd' or 'D' as exponent.
> Seems to be a "MS-only extension" to the standard :p

I would guess this comes from Fortran. Real values are printed with "e",
those with double precision printed with "d". And as one usually uses
double precision in Fortran, one ends up with several data files with
"d" instead of "e" as exponent.


PS: I think it is a stupid idea, but as - an excuse - Fortran is quite
old (and even worked with punched cards).

More information about the wine-devel mailing list