]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/w_exp_template.c
Fix the inaccuracy of j0f/j1f/y0f/y1f [BZ #14469, #14470, #14471, #14472]
[thirdparty/glibc.git] / math / w_exp_template.c
index 49a3e8f2a1efc02ae81243ad39e337d0a454e014..7435781b761600836d0afaa5cbf2eae11e4d8d0a 100644 (file)
@@ -1,5 +1,5 @@
 /* Wrapper to set errno for exp.
-   Copyright (C) 2017-2018 Free Software Foundation, Inc.
+   Copyright (C) 2017-2021 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
@@ -14,7 +14,7 @@
 
    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/>.  */
 
 /* Only build wrappers from the templates for the types that define the macro
    below.  This macro is set in math-type-macros-<type>.h in sysdeps/generic
@@ -26,9 +26,6 @@
 # include <math.h>
 # include <math_private.h>
 
-/* Provide an additional macro expansion for hidden_def.  */
-#define hidden_def_x(name) hidden_def (name)
-
 FLOAT
 M_DECL_FUNC (__exp) (FLOAT x)
 {
@@ -38,7 +35,7 @@ M_DECL_FUNC (__exp) (FLOAT x)
     __set_errno (ERANGE);
   return z;
 }
-hidden_def_x (M_SUF (__exp))
+libm_hidden_def (M_SUF (__exp))
 declare_mgen_alias (__exp, exp)
 
 #endif /* __USE_WRAPPER_TEMPLATE.  */