make lrint and llrint functions work without fenv support

This commit is contained in:
nsz
2012-03-18 20:40:43 +01:00
parent 9b6899f2c5
commit 65db00983f
6 changed files with 16 additions and 6 deletions

View File

@ -1,6 +1,6 @@
#include <math.h>
/* assumes LLONG_MAX > 2^53, see comments in lrint.c */
/* uses LLONG_MAX > 2^53, see comments in lrint.c */
long long llrint(double x)
{