/* 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
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
# 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)
{
__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. */