aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mips
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-09-15 18:15:31 +0000
committerAndreas Jaeger <aj@suse.de>2000-09-15 18:15:31 +0000
commit82ae4e9760c2deee896f7eacb1ae58ea51970f54 (patch)
treec694a706d60d5c76a3b33dc4de3256839a7ea1ae /sysdeps/mips
parent2f43efaaf28ab3f679f605390f921ac903ee9757 (diff)
downloadglibc-82ae4e9760c2deee896f7eacb1ae58ea51970f54.zip
glibc-82ae4e9760c2deee896f7eacb1ae58ea51970f54.tar.gz
glibc-82ae4e9760c2deee896f7eacb1ae58ea51970f54.tar.bz2
(__fesetenv): Handle FE_NOMASK_ENV.
Diffstat (limited to 'sysdeps/mips')
-rw-r--r--sysdeps/mips/fpu/fesetenv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/mips/fpu/fesetenv.c b/sysdeps/mips/fpu/fesetenv.c
index ab90e4d..ff84a41 100644
--- a/sysdeps/mips/fpu/fesetenv.c
+++ b/sysdeps/mips/fpu/fesetenv.c
@@ -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);