math: use '#pragma STDC FENV_ACCESS ON' when fenv is accessed
[musl] / src / math / llrintl.c
index 32bb8b0..3449f6f 100644 (file)
@@ -18,6 +18,7 @@ raises inexact (with tonearest or upward rounding mode)
 */
 long long llrintl(long double x)
 {
+       #pragma STDC FENV_ACCESS ON
        int e;
 
        e = fetestexcept(FE_INEXACT);