aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/alpha/fpu/fraiseexcpt.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-19 16:07:37 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-19 16:07:37 +0000
commitc9bca5114f951f7168b0f401c60bdf56eb1a8906 (patch)
tree802c3ab2fed8578c3f76399081a2b5f731551fe9 /sysdeps/alpha/fpu/fraiseexcpt.c
parent4b84abdd3e3944de5284964a32ab835c80c2f642 (diff)
downloadglibc-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.c5
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);