diff options
Diffstat (limited to 'sysdeps/alpha/fpu/fsetexcptflg.c')
-rw-r--r-- | sysdeps/alpha/fpu/fsetexcptflg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/alpha/fpu/fsetexcptflg.c b/sysdeps/alpha/fpu/fsetexcptflg.c index 7e373bea6f..5764a6ec7b 100644 --- a/sysdeps/alpha/fpu/fsetexcptflg.c +++ b/sysdeps/alpha/fpu/fsetexcptflg.c @@ -1,5 +1,5 @@ /* Set floating-point environment exception handling. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson <rth@tamu.edu>, 1997. @@ -29,7 +29,7 @@ fesetexceptflag (const fexcept_t *flagp, int excepts) tmp = __ieee_get_fp_control(); /* Set all the bits that were called for. */ - tmp = tmp & ~FE_ALL_EXCEPT | *flagp & excepts & FE_ALL_EXCEPT; + tmp = (tmp & ~FE_ALL_EXCEPT) | (*flagp & excepts & FE_ALL_EXCEPT); /* And store it back. */ __ieee_set_fp_control(tmp); |