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:
19b1a84
)
fix feholdexcept -- it needs to clear exceptions after saving environment
author
Rich Felker
<dalias@aerifal.cx>
Sun, 18 Nov 2012 21:10:20 +0000
(16:10 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 18 Nov 2012 21:10:20 +0000
(16:10 -0500)
src/fenv/feholdexcept.c
patch
|
blob
|
history
diff --git
a/src/fenv/feholdexcept.c
b/src/fenv/feholdexcept.c
index 4c6da23940a2c9becab5c8422d35fd40eab8af63..73ff1fad384db91937fa819bdeba5ce6f78ff836 100644
(file)
--- a/
src/fenv/feholdexcept.c
+++ b/
src/fenv/feholdexcept.c
@@
-3,5
+3,6
@@
int feholdexcept(fenv_t *envp)
{
fegetenv(envp);
+ feclearexcept(FE_ALL_EXCEPT);
return 0;
}