ldbl-128ibm-compat: Redirect long double functions to f128/ieee128 functions
commit8dbfea3a2094798a52cebddde01d255483f49665
authorTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Wed, 20 Jun 2018 00:41:16 +0000 (19 21:41 -0300)
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>
Fri, 28 Feb 2020 14:20:02 +0000 (28 08:20 -0600)
treed8b74d5f7e0e474b46f28b77cf244be5ffcc2b0c
parent6437fecca30deb88e5901ab03168cb7b40c7e0a7
ldbl-128ibm-compat: Redirect long double functions to f128/ieee128 functions

Modify the headers to redirect long double functions to global __*f128
symbols or to __*ieee128 otherwise.

Most of the functions in math.h benefit from the infrastructure already
available for __LDBL_COMPAT.  The only exceptions are nexttowardf and
nexttoward that need especial treatment.

Both math/bits/mathcalls-helper-functions.h and math/bits/mathcalls.h
were modified in order to provide alternative redirection destinations
that are essential to support functions that should not be redirected to
the same name pattern of the rest of the functions, i.e.: __fpclassify,
__signbit, __iseqsig, __issignaling, isinf, finite and isnan, which will
be redirected to __*f128 instead of __*ieee128 used for the rest.
include/math.h
math/bits/mathcalls-helper-functions.h
math/bits/mathcalls.h
math/math.h
sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h