aboutsummaryrefslogtreecommitdiff
path: root/math/gen-libm-test.pl
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-05-12 17:38:26 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-05-12 17:38:26 +0000
commit081988778fc49d34e43b665c562ed98818f78045 (patch)
treeb99a81b387f02b45dc90fd9119fd3e0f28f92b78 /math/gen-libm-test.pl
parentd842b1440dc2adc84387b460d4ed536042dd7322 (diff)
downloadglibc-081988778fc49d34e43b665c562ed98818f78045.tar
glibc-081988778fc49d34e43b665c562ed98818f78045.tar.gz
glibc-081988778fc49d34e43b665c562ed98818f78045.tar.bz2
glibc-081988778fc49d34e43b665c562ed98818f78045.zip
Convert TEST_c_c tests from code to data.
Diffstat (limited to 'math/gen-libm-test.pl')
-rwxr-xr-xmath/gen-libm-test.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/gen-libm-test.pl b/math/gen-libm-test.pl
index 656c9ceaff..f26a254d2d 100755
--- a/math/gen-libm-test.pl
+++ b/math/gen-libm-test.pl
@@ -675,12 +675,12 @@ sub get_ulps {
if ($type eq 'complex') {
my ($res);
- # Return 0 instead of BUILD_COMPLEX (0,0)
+ # Return 0 instead of BUILD_COMPLEX_ULP (0,0)
if (!exists $results{$test}{'real'}{'ulp'}{$float} &&
!exists $results{$test}{'imag'}{'ulp'}{$float}) {
return "0";
}
- $res = 'BUILD_COMPLEX (';
+ $res = 'BUILD_COMPLEX_ULP (';
$res .= (exists $results{$test}{'real'}{'ulp'}{$float}
? $results{$test}{'real'}{'ulp'}{$float} : "0");
$res .= ', ';