tinycc/win32
Avi Halachmi (:avih) 9c52ba48b3 win: math.h: fix fpclassify/signbit/etc - use C instead of broken asm
The asm code cannot currently be used with tcc since tcc doesn't support 't'
constraint.

Use inline C implementation instead, place it win32/include/tcc/tcc_libm.h, and
include it from win32/include/math.h.

Since fpclassify now works, it also fixes few other macros which depend on it.
Implicitly fixed: isfinite, isinf, isnan, isnormal.

The implementations were taken from musl-libc rs-1.0 (MIT license).

musl-libc: http://git.musl-libc.org/cgit/musl/tree/src/math?h=rs-1.0
license:   http://git.musl-libc.org/cgit/musl/tree/COPYRIGHT?h=rs-1.0
2015-11-07 22:18:46 +02:00
..
examples Add a demo.bat file to the examples directory on Windows 2015-04-10 07:46:04 +03:00
include win: math.h: fix fpclassify/signbit/etc - use C instead of broken asm 2015-11-07 22:18:46 +02:00
lib correct a DllMain() declaration in dllcrt1.c and dllmain.c 2015-03-03 22:51:13 +03:00
tools Revert all of my changes to directories & codingstyle. 2015-07-29 16:57:12 -04:00
build-tcc.bat workaround a wine cmd bug in build-tcc.bat 2014-01-20 02:23:34 -08:00
tcc-win32.txt i386-gen: preserve fp control word in gen_cvt_ftoi 2013-08-28 22:55:05 +02:00