aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/fpu
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-12-19 14:59:22 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-12-19 14:59:22 +0000
commit335ee09231eb950e18df2c39abe7290c67b22f3d (patch)
tree9b8220c30af171bdd4217a062037f4b8a15286a3 /sysdeps/x86_64/fpu
parentf88acd39da2a509081e541b84ecbf204ef20f9e8 (diff)
downloadglibc-335ee09231eb950e18df2c39abe7290c67b22f3d.zip
glibc-335ee09231eb950e18df2c39abe7290c67b22f3d.tar.gz
glibc-335ee09231eb950e18df2c39abe7290c67b22f3d.tar.bz2
Disable libm-test test name beautification for M_* constants.
math/gen-libm-test.pl has code to beautify names of various constants, transforming the source form in libm-test.inc into the version appearing in test names in libm-test-ulps files. This has become decreasingly relevant over time for the M_* constants, first as I changed the test names so only the arguments and not the expected results appeared in them, then as tests have moved to auto-libm-test-* so that automatically generated hex float constants get used instead of M_* in test inputs. This patch removes the beautification for all M_* constants. Tested x86_64 and x86 and ulps updated accordingly. Even the one case where this affected the name in the ulps files will disappear once complex function tests are moved to auto-libm-test-*. * math/gen-libm-test.pl (%beautify): Remove M_* constants. * sysdeps/i386/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
Diffstat (limited to 'sysdeps/x86_64/fpu')
-rw-r--r--sysdeps/x86_64/fpu/libm-test-ulps5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index 89b4bc8..a4fa4a2 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -6630,6 +6630,11 @@ ldouble: 1
Test "Imaginary part of: ctanh (0 + 0x3.243f6cp-1 i)":
float: 1
ifloat: 1
+Test "Imaginary part of: ctanh (0 + M_PI_4l i)":
+double: 1
+idouble: 1
+ildouble: 1
+ldouble: 1
Test "Imaginary part of: ctanh (0 + pi/4 i)":
double: 1
idouble: 1