Re: OLEAUT32: (resend) Floating point locale, no negative zero
Alex VillaciĀs Lasso <a_villacis(a)palosanto.com> writes:
Changelog: * Force Single|Double conversion to BSTR to use the decimal separator defined by the current locale, because that is what native oleaut32 does, and to be consistent with later parsing of floating-point numbers, which uses current locale. Failure to apply this patch causes vartype test to fail in non-US locales with a decimal separator other than a period. * The number form "-0" is *not* allowed to be returned in a Single|Double conversion to BSTR in case of numeric undeflow, use unsigned zero instead. Some applications depend on this. Test included.
That's ugly, I think we really want to do our own formatting instead of using the system printf and hacking the string afterwards. -- Alexandre Julliard julliard(a)winehq.org
participants (1)
-
Alexandre Julliard