projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e77dc1
)
one more fenv availability issue: lround
author
Rich Felker
<dalias@aerifal.cx>
Sat, 17 Mar 2012 04:02:36 +0000
(
00:02
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 17 Mar 2012 04:02:36 +0000
(
00:02
-0400)
src/math/lround.c
patch
|
blob
|
history
diff --git
a/src/math/lround.c
b/src/math/lround.c
index 04a5e178621f74c70f7a57885ce3a634fc625d7e..f62c8d40772b47d0a49a465ef163767fbcf02ecc 100644
(file)
--- a/
src/math/lround.c
+++ b/
src/math/lround.c
@@
-58,7
+58,9
@@
dtype fn(type x)
x = roundit(x);
return (dtype)x;
} else {
+#ifdef FE_INVALID
feraiseexcept(FE_INVALID);
+#endif
return DTYPE_MAX;
}
}