mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 03:31:07 +00:00
Move declare_mgen_finite_alias definition
Move declare_mgen_finite_alias, declare_mgen_finite_alias_s and declare_mgen_finite_alias_x to a shared place in order to reuse them in other files that also declare _finite aliases. * math/e_exp2_template.c (declare_mgen_finite_alias, declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to... * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias, declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here. Signed-off-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
This commit is contained in:
parent
2d1c89a5d7
commit
badba23cac
@ -1,3 +1,10 @@
|
||||
2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
|
||||
|
||||
* math/e_exp2_template.c (declare_mgen_finite_alias,
|
||||
declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
|
||||
* sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
|
||||
declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
|
||||
|
||||
2018-06-20 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
|
||||
|
@ -21,13 +21,6 @@
|
||||
#include <math-underflow.h>
|
||||
#include <float.h>
|
||||
|
||||
#define declare_mgen_finite_alias_x(from, to) \
|
||||
strong_alias (from, to ## _finite)
|
||||
#define declare_mgen_finite_alias_s(from,to) \
|
||||
declare_mgen_finite_alias_x (from, to)
|
||||
#define declare_mgen_finite_alias(from, to) \
|
||||
declare_mgen_finite_alias_s (M_SUF (from), M_SUF (to))
|
||||
|
||||
FLOAT
|
||||
M_DECL_FUNC (__ieee754_exp2) (FLOAT x)
|
||||
{
|
||||
|
@ -74,6 +74,21 @@
|
||||
# error "SET_NAN_PAYLOAD must be defined."
|
||||
#endif
|
||||
|
||||
#ifndef declare_mgen_finite_alias_x
|
||||
#define declare_mgen_finite_alias_x(from, to) \
|
||||
strong_alias (from, to ## _finite)
|
||||
#endif
|
||||
|
||||
#ifndef declare_mgen_finite_alias_s
|
||||
# define declare_mgen_finite_alias_s(from,to) \
|
||||
declare_mgen_finite_alias_x (from, to)
|
||||
#endif
|
||||
|
||||
#ifndef declare_mgen_finite_alias
|
||||
# define declare_mgen_finite_alias(from, to) \
|
||||
declare_mgen_finite_alias_s (M_SUF (from), M_SUF (to))
|
||||
#endif
|
||||
|
||||
#define __M_CONCAT(a,b) a ## b
|
||||
#define __M_CONCATX(a,b) __M_CONCAT(a,b)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user