blob: 50cef8e5ca9bef27801c7993aa08c634489aa80b [file] [log] [blame]
#include <fenv.h>
int feupdateenv(const fenv_t *envp)
{
int ex = fetestexcept(FE_ALL_EXCEPT);
fesetenv(envp);
feraiseexcept(ex);
return 0;
}