diff --git a/src/fenv/feupdateenv.c b/src/fenv/feupdateenv.c index f45ed7c..6bc731e 100644 --- a/src/fenv/feupdateenv.c +++ b/src/fenv/feupdateenv.c @@ -2,7 +2,7 @@ int feupdateenv(const fenv_t *envp) { - #pragma STDC FENV_ACCESS ON +#pragma STDC FENV_ACCESS ON int ex = fetestexcept(FE_ALL_EXCEPT); fesetenv(envp); feraiseexcept(ex); diff --git a/src/math/fma.c b/src/math/fma.c index 17f1cdc..56a269f 100644 --- a/src/math/fma.c +++ b/src/math/fma.c @@ -89,7 +89,7 @@ static int getexp(long double x) double fma(double x, double y, double z) { - #pragma STDC FENV_ACCESS ON +#pragma STDC FENV_ACCESS ON long double hi, lo1, lo2, xy; int round, ez, exy; diff --git a/src/math/fmaf.c b/src/math/fmaf.c index a1c7f4f..fd97f78 100644 --- a/src/math/fmaf.c +++ b/src/math/fmaf.c @@ -37,7 +37,7 @@ */ float fmaf(float x, float y, float z) { - #pragma STDC FENV_ACCESS ON +#pragma STDC FENV_ACCESS ON double xy, result; uint32_t hr, lr; diff --git a/src/math/fmal.c b/src/math/fmal.c index ccbe434..4b57ea6 100644 --- a/src/math/fmal.c +++ b/src/math/fmal.c @@ -162,7 +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 +#pragma STDC FENV_ACCESS ON long double xs, ys, zs, adj; struct dd xy, r; int oround; diff --git a/src/math/nearbyint.c b/src/math/nearbyint.c index f4e8aac..b0ffcc8 100644 --- a/src/math/nearbyint.c +++ b/src/math/nearbyint.c @@ -6,7 +6,7 @@ double nearbyint(double x) { #ifdef FE_INEXACT - #pragma STDC FENV_ACCESS ON +#pragma STDC FENV_ACCESS ON int e; e = fetestexcept(FE_INEXACT); diff --git a/src/math/nearbyintf.c b/src/math/nearbyintf.c index 092e9ff..c96002b 100644 --- a/src/math/nearbyintf.c +++ b/src/math/nearbyintf.c @@ -4,7 +4,7 @@ float nearbyintf(float x) { #ifdef FE_INEXACT - #pragma STDC FENV_ACCESS ON +#pragma STDC FENV_ACCESS ON int e; e = fetestexcept(FE_INEXACT); diff --git a/src/math/nearbyintl.c b/src/math/nearbyintl.c index 8285249..7d97b66 100644 --- a/src/math/nearbyintl.c +++ b/src/math/nearbyintl.c @@ -11,7 +11,7 @@ long double nearbyintl(long double x) long double nearbyintl(long double x) { #ifdef FE_INEXACT - #pragma STDC FENV_ACCESS ON +#pragma STDC FENV_ACCESS ON int e; e = fetestexcept(FE_INEXACT);