diff options
author | Szabolcs Nagy <nsz@port70.net> | 2012-11-13 13:34:45 +0100 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2012-11-13 13:34:45 +0100 |
commit | 033a9d6ad2a65ac03156b179e7c6101d2e72c4c0 (patch) | |
tree | 8766fcbb535225041d0d4afe330a8ae686c1ef4d /src/math/lrintl.c | |
parent | c4359e01303da2755fe7e8033826b132eb3659b1 (diff) | |
download | musl-033a9d6ad2a65ac03156b179e7c6101d2e72c4c0.tar.gz musl-033a9d6ad2a65ac03156b179e7c6101d2e72c4c0.tar.bz2 musl-033a9d6ad2a65ac03156b179e7c6101d2e72c4c0.tar.xz musl-033a9d6ad2a65ac03156b179e7c6101d2e72c4c0.zip |
math: use '#pragma STDC FENV_ACCESS ON' when fenv is accessed
Diffstat (limited to 'src/math/lrintl.c')
-rw-r--r-- | src/math/lrintl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/math/lrintl.c b/src/math/lrintl.c index 5eb1ba7e..b2a8106d 100644 --- a/src/math/lrintl.c +++ b/src/math/lrintl.c @@ -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); |