mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-05 04:40:06 +08: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 |