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/gen-tgmath-tests.py | |
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/gen-tgmath-tests.py')
-rwxr-xr-x | math/gen-tgmath-tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/math/gen-tgmath-tests.py b/math/gen-tgmath-tests.py index d433b484b8..53d5a54767 100755 --- a/math/gen-tgmath-tests.py +++ b/math/gen-tgmath-tests.py @@ -707,6 +707,8 @@ class Tests(object): ('_Float32x', 'f32x'), ('_Float64x', 'f64x')): self.add_tests(prefix + fn, ret, ['r'] * args) + # TS 18661-4 functions. + self.add_tests('exp10', 'r', ['r']) # C2X functions. self.add_tests('fmaximum', 'r', ['r', 'r']) self.add_tests('fmaximum_mag', 'r', ['r', 'r']) |