summaryrefslogtreecommitdiff
path: root/src/math/nearbyintl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/nearbyintl.c')
-rw-r--r--src/math/nearbyintl.c1
1 files changed, 1 insertions, 0 deletions
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);