"Peter" == Peter Beutner p.beutner@gmx.net writes:
Peter> Which means that '7.8912654773d210' is the same as Peter> '7.8912654773e210'.
Running the test with native msvcrt doesn't give me 7.8912654773e210 neither...
Peter> But on linux we have(quoted from 'man strtod'): ----- A decimal Peter> number consists of a nonempty sequence of decimal digits pos- Peter> sibly containing a radix character (decimal point, locale Peter> dependent, usually ``.''), optionally followed by a decimal Peter> exponent. A decimal exponent consists of an ``E'' or ``e'', Peter> followed by an optional plus or minus sign, followed by a Peter> non-empty sequence of decimal digits, and indicates Peter> multiplication by a power of 10. ----
Peter> It doesn't parse 'd' or 'D' as exponent. Seems to be a "MS-only Peter> extension" to the standard :p
Could you please check '7.8912654773d210' gives the expected result on windows?
Peter> [1] Peter> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/...