mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-21 04:31:04 +08:00
(__fesetenv): Handle FE_NOMASK_ENV.
This commit is contained in:
parent
c09c05d827
commit
5898ca31ae
@ -32,6 +32,8 @@ __fesetenv (const fenv_t *envp)
|
||||
|
||||
if (envp == FE_DFL_ENV)
|
||||
_FPU_SETCW (_FPU_DEFAULT);
|
||||
else if (envp == FE_NOMASK_ENV)
|
||||
_FPU_SETCW (_FPU_IEEE);
|
||||
else
|
||||
_FPU_SETCW (envp->__fp_control_register);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user