Sets the floating-point environment with the previously generated exceptions retained.
long feupdateenv(const fenv_t *f);
f Pointer to the floating-point environment to be set
For the argument of this function, specify the object stored or saved by the fegetenv or feholdexcept function call, or the floating-point environment equal to the floating-point environment macro.
Do not use this function when compiler option nofpu is selected. If used, the function returns a nonzero value, which indicates an abnormality.