(__fesetenv): Handle FE_NOMASK_ENV.

This commit is contained in:
Andreas Jaeger 2000-09-15 18:15:31 +00:00
parent 2f43efaaf2
commit 82ae4e9760

View File

@ -32,6 +32,8 @@ __fesetenv (const fenv_t *envp)
if (envp == FE_DFL_ENV) if (envp == FE_DFL_ENV)
_FPU_SETCW (_FPU_DEFAULT); _FPU_SETCW (_FPU_DEFAULT);
else if (envp == FE_NOMASK_ENV)
_FPU_SETCW (_FPU_IEEE);
else else
_FPU_SETCW (envp->__fp_control_register); _FPU_SETCW (envp->__fp_control_register);