diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-08-19 16:07:37 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-08-19 16:07:37 +0000 |
commit | c9bca5114f951f7168b0f401c60bdf56eb1a8906 (patch) | |
tree | 802c3ab2fed8578c3f76399081a2b5f731551fe9 /sysdeps/alpha/fpu/fraiseexcpt.c | |
parent | 4b84abdd3e3944de5284964a32ab835c80c2f642 (diff) | |
download | glibc-c9bca5114f951f7168b0f401c60bdf56eb1a8906.tar glibc-c9bca5114f951f7168b0f401c60bdf56eb1a8906.tar.gz glibc-c9bca5114f951f7168b0f401c60bdf56eb1a8906.tar.bz2 glibc-c9bca5114f951f7168b0f401c60bdf56eb1a8906.zip |
Use <fenv_libc.h>.
Diffstat (limited to 'sysdeps/alpha/fpu/fraiseexcpt.c')
-rw-r--r-- | sysdeps/alpha/fpu/fraiseexcpt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/alpha/fpu/fraiseexcpt.c b/sysdeps/alpha/fpu/fraiseexcpt.c index b0eab000cb..1f72ebaf6a 100644 --- a/sysdeps/alpha/fpu/fraiseexcpt.c +++ b/sysdeps/alpha/fpu/fraiseexcpt.c @@ -18,8 +18,7 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <fenv.h> -#include <math.h> +#include <fenv_libc.h> int __feraiseexcept (int excepts) @@ -30,7 +29,7 @@ __feraiseexcept (int excepts) tmp = __ieee_get_fp_control (); /* Set all the bits that were called for. */ - tmp |= (excepts & FE_ALL_EXCEPT); + tmp |= (excepts & SWCR_STATUS_MASK); /* And store it back. */ __ieee_set_fp_control (tmp); |