From 033a9d6ad2a65ac03156b179e7c6101d2e72c4c0 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Tue, 13 Nov 2012 13:34:45 +0100 Subject: math: use '#pragma STDC FENV_ACCESS ON' when fenv is accessed --- src/math/nearbyintl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/math/nearbyintl.c') diff --git a/src/math/nearbyintl.c b/src/math/nearbyintl.c index 0ff4b1f9..82852492 100644 --- a/src/math/nearbyintl.c +++ b/src/math/nearbyintl.c @@ -11,6 +11,7 @@ long double nearbyintl(long double x) long double nearbyintl(long double x) { #ifdef FE_INEXACT + #pragma STDC FENV_ACCESS ON int e; e = fetestexcept(FE_INEXACT); -- cgit v1.2.1