fix feholdexcept -- it needs to clear exceptions after saving environment
This commit is contained in:
parent
19b1a8453e
commit
0b52bf5c78
1 changed files with 1 additions and 0 deletions
|
|
@ -3,5 +3,6 @@
|
||||||
int feholdexcept(fenv_t *envp)
|
int feholdexcept(fenv_t *envp)
|
||||||
{
|
{
|
||||||
fegetenv(envp);
|
fegetenv(envp);
|
||||||
|
feclearexcept(FE_ALL_EXCEPT);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue