]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/fegetexcept.c
Update copyright dates with scripts/update-copyrights
[thirdparty/glibc.git] / math / fegetexcept.c
index 0ea5184508957b389b7452cda7616ddbaebde2b2..fcc2279fe799521ee499b0fbf3ad76ae82461121 100644 (file)
@@ -1,5 +1,5 @@
 /* Get floating-point exceptions.
-   Copyright (C) 1999 Free Software Foundation, Inc.
+   Copyright (C) 1999-2021 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Jaeger <aj@suse.de>, 1999.
 
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <fenv.h>
 
 int
 fegetexcept (void)
 {
-  /* Signal failure.  */
-  return -1;
+  /* All exception traps are disabled.  */
+  return 0;
 }
 stub_warning (fegetexcept)
-#include <stub-tag.h>