diff options
author | Joseph Myers <joseph@codesourcery.com> | 2021-09-30 20:40:34 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2021-09-30 20:40:34 +0000 |
commit | 52c057e37c3e0d1451f1c1cc0465eddee6cf236d (patch) | |
tree | 6ddd3bdcf0c535535da54268e43339070e3a594d /math/Makefile | |
parent | 1e1ecea62e899acb58c3fdf3b320a0833ddd0dff (diff) | |
download | glibc-52c057e37c3e0d1451f1c1cc0465eddee6cf236d.tar glibc-52c057e37c3e0d1451f1c1cc0465eddee6cf236d.tar.gz glibc-52c057e37c3e0d1451f1c1cc0465eddee6cf236d.tar.bz2 glibc-52c057e37c3e0d1451f1c1cc0465eddee6cf236d.zip |
Add exp10 macro to <tgmath.h> (bug 26108)
glibc has had exp10 functions since long before they were
standardized; now they are standardized in TS 18661-4 and C2X, they
are also specified there to have a corresponding type-generic macro.
Add one to <tgmath.h>, so fixing bug 26108.
glibc doesn't have other functions from TS 18661-4 yet, but when
added, it will be natural to add the type-generic macro for each
function family at the same time as the functions.
Tested for x86_64.
Diffstat (limited to 'math/Makefile')
-rw-r--r-- | math/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/math/Makefile b/math/Makefile index af734d41c4..e19f4ec343 100644 --- a/math/Makefile +++ b/math/Makefile @@ -374,9 +374,9 @@ $(foreach t,$(libm-tests-base),\ tgmath3-narrow-types = f d f16 f32 f64 f128 f32x f64x tgmath3-narrow-macros = $(foreach t,$(tgmath3-narrow-types), \ $(foreach f,$(libm-narrow-fns),$(t)$(f))) -tgmath3-macros = atan2 cbrt ceil copysign erf erfc exp2 expm1 fdim floor \ - fma fmax fmin fmod frexp hypot ilogb ldexp lgamma llrint \ - llround log10 log1p log2 logb lrint lround nearbyint \ +tgmath3-macros = atan2 cbrt ceil copysign erf erfc exp10 exp2 expm1 fdim \ + floor fma fmax fmin fmod frexp hypot ilogb ldexp lgamma \ + llrint llround log10 log1p log2 logb lrint lround nearbyint \ nextafter nexttoward remainder remquo rint round scalbn \ scalbln tgamma trunc acos asin atan acosh asinh atanh cos \ sin tan cosh sinh tanh exp log pow sqrt fabs carg cimag conj \ |