On Wed, 28 Sep 2016, Martin Storsjö wrote:
Just pass calls to msvcrt instead.The msvcrt math functions might not be fully C99 compliant, but the current softfloat implementations are lacking in many other ways (e.g. crashing due to infinite recursion for some input values, only working for certain ranges of input values, etc.). For functions that are missing in msvcrt.dll (log2*, exp2*, scalbn*), provide small wrappers that fall back on log and pow. This makes the libav testsuite succeed (when run in wine), when built with clang for ARM with mingw-w64 - previously a number of tests failed due to faulty math functions. ---
Sorry about the double post; the other version is smaller and easier to read, with all the removals folded and renames detected.
// Martin
------------------------------------------------------------------------------
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
