mingw-w64/mingw-w64-libraries
Liu Hao 295fafcf58 winpthreads: Call _fpreset() for new threads
This is necessary for math functions taking `long double` arguments to
work reliably, as by default, new threads have their x87 precision set
to 53 bits.

Note the x87 control word can't be set in the TLS callback. It gets
overwritten before the thread procedure begins execution. There is NO
workaround for the win32 thread model, other than requiring users to
call `_fpreset()` themselves.

Reference: https://sourceforge.net/p/mingw-w64/mailman/message/37084134/
Signed-off-by: Liu Hao <lh_mouse@126.com>
2020-08-17 21:46:41 +08:00
..
libmangle Update to autoconf v2.69 (aka automake 1.15) 2016-10-17 22:02:44 -07:00
pseh Update to autoconf v2.69 (aka automake 1.15) 2016-10-17 22:02:44 -07:00
winpthreads winpthreads: Call _fpreset() for new threads 2020-08-17 21:46:41 +08:00
winstorecompat winstorecompat: Regenerate Makefile.in 2020-05-20 09:23:13 +03:00