X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmath%2Fnearbyintf.c;h=092e9ffae56e96b7d24003ea9d34adb9b4ea6e0d;hb=033a9d6ad2a65ac03156b179e7c6101d2e72c4c0;hp=39c3d73b5edb3deac52d193196e34a66f00ab359;hpb=91c28f61f43ba029166772e8ac25808ea3c3dc98;p=musl diff --git a/src/math/nearbyintf.c b/src/math/nearbyintf.c index 39c3d73b..092e9ffa 100644 --- a/src/math/nearbyintf.c +++ b/src/math/nearbyintf.c @@ -4,6 +4,7 @@ float nearbyintf(float x) { #ifdef FE_INEXACT + #pragma STDC FENV_ACCESS ON int e; e = fetestexcept(FE_INEXACT);