projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove another invalid skip of locking in ungetwc
[oweals/musl.git]
/
src
/
math
/
lrint.c
diff --git
a/src/math/lrint.c
b/src/math/lrint.c
index 67091835a6d5050719938a32748a3927e741a457..bdca8b7cb82ec8b90ca9619e989dceb253b7ebc9 100644
(file)
--- 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);