math: tgammal.c fixes
[oweals/musl.git] / src / math / lrintl.c
index 5eb1ba7edbb24b241b0ee2aa432618f8c029a0d1..b2a8106d7c6a1710eea10791fdf72d88df541d95 100644 (file)
@@ -18,6 +18,7 @@ raises inexact (with tonearest or upward rounding mode)
 */
 long lrintl(long double x)
 {
+       #pragma STDC FENV_ACCESS ON
        int e;
 
        e = fetestexcept(FE_INEXACT);