summaryrefslogtreecommitdiff
path: root/src/math/fmal.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2012-11-13 13:34:45 +0100
committerSzabolcs Nagy <nsz@port70.net>2012-11-13 13:34:45 +0100
commit033a9d6ad2a65ac03156b179e7c6101d2e72c4c0 (patch)
tree8766fcbb535225041d0d4afe330a8ae686c1ef4d /src/math/fmal.c
parentc4359e01303da2755fe7e8033826b132eb3659b1 (diff)
downloadmusl-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/fmal.c')
-rw-r--r--src/math/fmal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/math/fmal.c b/src/math/fmal.c
index be64f145..ccbe434d 100644
--- a/src/math/fmal.c
+++ b/src/math/fmal.c
@@ -162,6 +162,7 @@ static inline struct dd dd_mul(long double a, long double b)
*/
long double fmal(long double x, long double y, long double z)
{
+ #pragma STDC FENV_ACCESS ON
long double xs, ys, zs, adj;
struct dd xy, r;
int oround;