tinycc/win32
grischka d019586378 win32/include/math.h: rint/trunc: pop fp stack
... 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.
2020-04-11 21:45:57 +02:00
..
examples tccgen/win32: let __declspec(dllimport) imply extern 2017-04-04 08:34:52 +02:00
include win32/include/math.h: rint/trunc: pop fp stack 2020-04-11 21:45:57 +02:00
lib Finalizing math.h fixes: 2020-04-11 02:29:51 +02:00
build-tcc.bat win32/build-tcc.bat: clean .o in win32/lib 2020-02-19 00:43:41 +01:00
tcc-win32.txt various stuff 2017-10-11 18:13:43 +02:00