summary refs log tree commit diff
path: root/math/gen-libm-test.pl
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-10-09 23:34:12 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-10-09 23:34:12 +0000
commit0e8e0c1c9328a68259fe94b8080fdce7f72e9fa0 (patch)
treeeb4bb556b0ab6125abdb266a02d67e8f7da9cb76 /math/gen-libm-test.pl
parent7f82e4f470fd74ab3cef53941dc13bc005618759 (diff)
downloadglibc-0e8e0c1c9328a68259fe94b8080fdce7f72e9fa0.tar.gz
glibc-0e8e0c1c9328a68259fe94b8080fdce7f72e9fa0.tar.xz
glibc-0e8e0c1c9328a68259fe94b8080fdce7f72e9fa0.zip
Make libm-test.inc test comparison macros.
Diffstat (limited to 'math/gen-libm-test.pl')
-rwxr-xr-xmath/gen-libm-test.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/gen-libm-test.pl b/math/gen-libm-test.pl
index 67227c46f5..642fc98214 100755
--- a/math/gen-libm-test.pl
+++ b/math/gen-libm-test.pl
@@ -320,7 +320,9 @@ sub parse_args {
   }
   # Special handling for some macros:
   $cline .= " (\"$str\", ";
-  if ($args[0] =~ /fpclassify|isnormal|isfinite|isinf|isnan|signbit/) {
+  if ($args[0] =~ /fpclassify|isnormal|isfinite|isinf|isnan|signbit
+      |isgreater|isgreaterequal|isless|islessequal
+      |islessgreater|isunordered/x) {
     $c_call = "$args[0] (";
   } else {
     $c_call = " FUNC($args[0]) (";