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 feba28d072c153e50dac0fe207e833e2bc7361a4..bdca8b7cb82ec8b90ca9619e989dceb253b7ebc9 100644
(file)
--- a/
src/math/lrint.c
+++ b/
src/math/lrint.c
@@
-25,9
+25,10
@@
otherwise LONG_MAX and LONG_MIN can be represented exactly
as a double.
*/
-#if LONG_MAX < 1U<<53
+#if LONG_MAX < 1U<<53
&& defined(FE_INEXACT)
long lrint(double x)
{
+ #pragma STDC FENV_ACCESS ON
int e;
e = fetestexcept(FE_INEXACT);