fix feholdexcept -- it needs to clear exceptions after saving environment
This commit is contained in:
@@ -3,5 +3,6 @@
|
||||
int feholdexcept(fenv_t *envp)
|
||||
{
|
||||
fegetenv(envp);
|
||||
feclearexcept(FE_ALL_EXCEPT);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user