tinycc/win32/include
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
..
sec_api win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
sys add version number to manpage 2013-02-17 00:48:51 +01:00
tcc win: math.h: fix fpclassify/signbit/etc - use C instead of broken asm 2015-11-07 22:18:46 +02:00
winapi win32: UUID typedef added 2015-09-25 03:42:44 +03:00
_mingw.h tcc -vv/--print-search-dirs: print more info 2013-02-10 00:38:40 +01:00
assert.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
conio.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
ctype.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
dir.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
direct.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
dirent.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
dos.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
errno.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
excpt.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
fcntl.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
fenv.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
inttypes.h add version number to manpage 2013-02-17 00:48:51 +01:00
io.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
limits.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
locale.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
malloc.h win32: malloc.h: fix win32 tcc-tcc complication by correcting _STATIC_ASSERT, ideas from mingw-w64 changeset 4293 2012-12-31 08:59:50 +08:00
math.h win: math.h: fix fpclassify/signbit/etc - use C instead of broken asm 2015-11-07 22:18:46 +02:00
mem.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
memory.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
process.h win32/include/process.h: update prototypes to match mingw. 2014-04-12 00:09:57 -04:00
setjmp.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
share.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
signal.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
stdint.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
stdio.h add version number to manpage 2013-02-17 00:48:51 +01:00
stdlib.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
string.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
tchar.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
time.h win32/include: enable _timezone etc variables. 2011-07-11 18:44:47 +02:00
vadefs.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
values.h dos2unix 2005-04-17 13:10:37 +00:00
wchar.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
wctype.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00
winsock2.h win32/include/winsock2.h (look previous commit) 2015-03-03 22:45:50 +03:00