msvcrt:scanf float conversion behavior

Jacek Caban jacek at
Mon Dec 23 09:12:58 CST 2019

Hi Erich,

On 12/23/19 3:52 PM, Erich E. Hoover wrote:
> I am trying to resolve places where "long double" is being used to
> compute the value of a floating point number and I am currently
> looking at resolving this issue in the scanf family of functions.  I'm
> not the hugest fan of having duplicated code running around, so I'm
> wondering if anyone knows why scanf float behavior isn't implemented
> using [str|wcs]tod (or possibly the other way around).  So, does
> anyone know why this is the case?  Would a patch be accepted that
> consolidates these instances?

I heard that Piotr was looking at this before leaving for vacations. I 
don't know how far he got. He will be back later this week and it may be 
good to coordinate with him.


More information about the wine-devel mailing list