From 65db00983f3fa5449f20f2694477f9d5116f6ea5 Mon Sep 17 00:00:00 2001 From: nsz Date: Sun, 18 Mar 2012 20:40:43 +0100 Subject: make lrint and llrint functions work without fenv support --- src/math/lrint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/math/lrint.c') diff --git a/src/math/lrint.c b/src/math/lrint.c index feba28d0..67091835 100644 --- a/src/math/lrint.c +++ b/src/math/lrint.c @@ -25,7 +25,7 @@ otherwise LONG_MAX and LONG_MIN can be represented exactly as a double. */ -#if LONG_MAX < 1U<<53 +#if LONG_MAX < 1U<<53 && defined(FE_INEXACT) long lrint(double x) { int e; -- cgit v1.2.1