https://bugs.winehq.org/show_bug.cgi?id=48324
Erich E. Hoover erich.e.hoover@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |erich.e.hoover@gmail.com
--- Comment #1 from Erich E. Hoover erich.e.hoover@gmail.com --- Wow. 1) I'm surprised that it's using atof (which is for doubles) 2) I'm surprised that this value works on Windows, since it's greater than FLT_MAX (3.402823466e+38F)
My guess would be that the value is being treated as a double, my new calculation is somewhat different from whatever MS does, and then when it gets typecast to a float it ends up slightly larger than what is allowed for FLT_MAX. Is this number from someplace special? Is there are a reason your application does not use FLT_MAX?