]> git.ipfire.org Git - thirdparty/glibc.git/commit
Add exp10 macro to <tgmath.h> (bug 26108)
authorJoseph Myers <joseph@codesourcery.com>
Thu, 30 Sep 2021 20:40:34 +0000 (20:40 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 30 Sep 2021 20:40:34 +0000 (20:40 +0000)
commit52c057e37c3e0d1451f1c1cc0465eddee6cf236d
tree6ddd3bdcf0c535535da54268e43339070e3a594d
parent1e1ecea62e899acb58c3fdf3b320a0833ddd0dff
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.
NEWS
math/Makefile
math/gen-tgmath-tests.py
math/test-tgmath.c
math/tgmath.h