X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Flrint.c;h=bdca8b7cb82ec8b90ca9619e989dceb253b7ebc9;hb=c6383b7b10303457306932584fc23f24b5153a81;hp=67091835a6d5050719938a32748a3927e741a457;hpb=65db00983f3fa5449f20f2694477f9d5116f6ea5;p=musl diff --git a/src/math/lrint.c b/src/math/lrint.c index 67091835..bdca8b7c 100644 --- a/src/math/lrint.c +++ b/src/math/lrint.c @@ -28,6 +28,7 @@ as a double. #if LONG_MAX < 1U<<53 && defined(FE_INEXACT) long lrint(double x) { + #pragma STDC FENV_ACCESS ON int e; e = fetestexcept(FE_INEXACT);