mirror of
https://github.com/frida/tinycc
synced 2024-12-24 22:16:49 +03:00
d019586378
... in order to avoid fp stack overflow (see test below). #include <math.h> #include <stdio.h> int main() { printf("%f %f %f %f\n", trunc(1.2), rint(1.2), trunc(1.2), rint(1.2)); printf("%f %f %f %f\n", trunc(1.2), rint(1.2), trunc(1.2), rint(1.2)); printf("%f %f %f %f\n", trunc(1.2), rint(1.2), trunc(1.2), rintl(1.2)); } Also in rintl: - 'long double' is not a ten-byte float on windows. |
||
---|---|---|
.. | ||
sec_api | ||
sys | ||
tcc | ||
winapi | ||
_mingw.h | ||
assert.h | ||
conio.h | ||
ctype.h | ||
dir.h | ||
direct.h | ||
dirent.h | ||
dos.h | ||
errno.h | ||
excpt.h | ||
fcntl.h | ||
fenv.h | ||
inttypes.h | ||
io.h | ||
iso646.h | ||
limits.h | ||
locale.h | ||
malloc.h | ||
math.h | ||
mem.h | ||
memory.h | ||
process.h | ||
setjmp.h | ||
share.h | ||
signal.h | ||
stdint.h | ||
stdio.h | ||
stdlib.h | ||
string.h | ||
tchar.h | ||
time.h | ||
uchar.h | ||
vadefs.h | ||
values.h | ||
wchar.h | ||
wctype.h |