summaryrefslogtreecommitdiff
path: root/src/math/lrint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/lrint.c')
-rw-r--r--src/math/lrint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/math/lrint.c b/src/math/lrint.c
index 67091835..bdca8b7c 100644
--- a/src/math/lrint.c
+++ b/src/math/lrint.c
@@ -28,6 +28,7 @@ as a double.
#if LONG_MAX < 1U<<53 && defined(FE_INEXACT)
long lrint(double x)
{
+ #pragma STDC FENV_ACCESS ON
int e;
e = fetestexcept(FE_INEXACT);