mirror of
https://github.com/frida/tinycc
synced 2024-12-19 03:42:33 +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. |
||
---|---|---|
.. | ||
examples | ||
include | ||
lib | ||
build-tcc.bat | ||
tcc-win32.txt |