]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/w_ilogb_template.c
ldbl-128ibm-compat: Add tests for IBM long double functions
[thirdparty/glibc.git] / math / w_ilogb_template.c
index acc70026172801d668022390efaa84e6ef9e4d6c..c069e605dfc5b712c175ddf39c7f3eaac8556937 100644 (file)
@@ -1,5 +1,5 @@
 /* Wrapper to set errno for ilogb.
-   Copyright (C) 2012-2016 Free Software Foundation, Inc.
+   Copyright (C) 2012-2020 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 
    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 <math.h>
 #include <errno.h>
 #include <limits.h>
 #include <math_private.h>
+#include <fenv.h>
 
 /* wrapper ilogb */
 int
@@ -36,7 +37,3 @@ M_DECL_FUNC (__ilogb) (FLOAT x)
   return r;
 }
 declare_mgen_alias (__ilogb, ilogb)
-
-#if M_LIBM_NEED_COMPAT (ilogb)
-declare_mgen_libm_compat (__ilogb, ilogb)
-#endif