about summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-08-24 10:33:57 -0700
committerUlrich Drepper <drepper@redhat.com>2009-08-24 10:33:57 -0700
commit7b943af6cf2bfd4b94be271877a10128c32d03da (patch)
tree61e48476a7cfc36f79a21c828aebda8157d606ef /sysdeps/i386
parentef72d5f1b95fe91b032de0ad1ee777d7cf4fb49f (diff)
downloadglibc-7b943af6cf2bfd4b94be271877a10128c32d03da.tar.gz
glibc-7b943af6cf2bfd4b94be271877a10128c32d03da.tar.xz
glibc-7b943af6cf2bfd4b94be271877a10128c32d03da.zip
Define math_errhandling is possible.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/fpu/bits/mathinline.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/i386/fpu/bits/mathinline.h b/sysdeps/i386/fpu/bits/mathinline.h
index a786cc69cd..8005997520 100644
--- a/sysdeps/i386/fpu/bits/mathinline.h
+++ b/sysdeps/i386/fpu/bits/mathinline.h
@@ -1,5 +1,5 @@
 /* Inline math functions for i387.
-   Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2003,2004,2006,2007
+   Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2003,2004,2006,2007,2009
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by John C. Bowman <bowman@math.ualberta.ca>, 1995.
@@ -153,6 +153,10 @@ __NTH (__signbitl (long double __x))
 #if ((!defined __NO_MATH_INLINES || defined __LIBC_INTERNAL_MATH_INLINES) \
      && defined __OPTIMIZE__)
 
+/* The inline functions do not set errno or raise necessarily the
+   correct exceptions.  */
+# undef math_errhandling
+
 /* A macro to define float, double, and long double versions of various
    math functions for the ix87 FPU.  FUNC is the function name (which will
    be suffixed with f and l for the float and long double version,