tinycc/win32/include
grischka 73faaea227 i386-gen: preserve fp control word in gen_cvt_ftoi
- Use runtime function for conversion
- Also initialize fp with tcc -run on windows

This fixes a bug where
  double x = 1.0;
  double y = 1.0000000000000001;
  double z = x < y ? 0 : sqrt (x*x - y*y);
caused a bad sqrt because rounding precision for the x < y comparison
was different to the one used within the sqrt function.

This also fixes a bug where
  printf("%d, %d", (int)pow(10, 2), (int)pow(10, 2));
would print
  100, 99

Unrelated:
  win32: document relative include & lib lookup
  win32: normalize_slashes: do not mirror silly gcc behavior
  This reverts part of commit 8a81f9e103
  winapi: add missing WINAPI decl. for some functions
2013-08-28 22:55:05 +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
winapi i386-gen: preserve fp control word in gen_cvt_ftoi 2013-08-28 22:55:05 +02: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 win64: use new headers from mingw 2009-07-18 22:06:37 +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 win64: use new headers from mingw 2009-07-18 22:06:37 +02: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