about summary refs log tree commit diff
path: root/math/gen-libm-test.pl
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-05-24 11:26:36 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-05-24 11:26:36 +0000
commit80bad0ccaedf2d072435f4f6f0091141ff4bf33a (patch)
tree34c38826513d3327775b5cd7c8b3da5ed0261185 /math/gen-libm-test.pl
parent9e0e3d0b2b21d62d6f89e8e8b5e116885fd1eea7 (diff)
downloadglibc-80bad0ccaedf2d072435f4f6f0091141ff4bf33a.tar.gz
glibc-80bad0ccaedf2d072435f4f6f0091141ff4bf33a.tar.xz
glibc-80bad0ccaedf2d072435f4f6f0091141ff4bf33a.zip
Test underflow exceptions in libm-test.inc.
Diffstat (limited to 'math/gen-libm-test.pl')
-rwxr-xr-xmath/gen-libm-test.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/math/gen-libm-test.pl b/math/gen-libm-test.pl
index 395bb65513..2f1574763e 100755
--- a/math/gen-libm-test.pl
+++ b/math/gen-libm-test.pl
@@ -79,9 +79,15 @@ use vars qw ($output_dir $ulps_file);
     "INVALID_EXCEPTION" => "invalid exception",
     "DIVIDE_BY_ZERO_EXCEPTION" => "division by zero exception",
     "OVERFLOW_EXCEPTION" => "overflow exception",
+    "UNDERFLOW_EXCEPTION" => "underflow exception",
+    "UNDERFLOW_EXCEPTION_FLOAT" => "underflow exception for float",
+    "UNDERFLOW_EXCEPTION_DOUBLE" => "underflow exception for double",
+    "UNDERFLOW_EXCEPTION_LDOUBLE_IBM" => "underflow exception for IBM long double",
     "INVALID_EXCEPTION_OK" => "invalid exception allowed",
     "DIVIDE_BY_ZERO_EXCEPTION_OK" => "division by zero exception allowed",
     "OVERFLOW_EXCEPTION_OK" => "overflow exception allowed",
+    "UNDERFLOW_EXCEPTION_OK" => "underflow exception allowed",
+    "UNDERFLOW_EXCEPTION_OK_FLOAT" => "underflow exception allowed for float",
     "EXCEPTIONS_OK" => "exceptions allowed",
     "IGNORE_ZERO_INF_SIGN" => "sign of zero/inf not specified",
 "INVALID_EXCEPTION|IGNORE_ZERO_INF_SIGN" => "invalid exception and sign of zero/inf not specified"