https://bugs.winehq.org/show_bug.cgi?id=48160
Martin Storsjö martin@martin.st changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |martin@martin.st
--- Comment #11 from Martin Storsjö martin@martin.st --- (In reply to Alexandre Julliard from comment #5)
We'll need to rewrite that function to not use long double, because the goal is to support building it with Mingw.
FWIW, in Mingw (both gcc and clang) on x86, long doubles actually are the x87 80 bit extended precision floats, contrary to MSVC. So anything in Mingw that uses long doubles is ABI incompatible with MSVC.
In Mingw on arm and aarch64 (which only are supported by clang), long doubles are the same as regular doubles though.
In any case, not relying on long double here would be great, as I've run into range issues with the current implementation on 32 bit arm, where long doubles in linux also are the same as regular ones.