summary refs log tree commit diff
path: root/math/libm-test.inc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-25 19:49:49 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-25 19:49:49 +0000
commit3a8e65a0a7914ad670774161c8e0bc781e09500a (patch)
treeaa64c73f6f64396a5f61bfffb63322acf3d4c9a0 /math/libm-test.inc
parentfc4de7058d30387e302147c6131f85440987fe5c (diff)
downloadglibc-3a8e65a0a7914ad670774161c8e0bc781e09500a.tar.gz
glibc-3a8e65a0a7914ad670774161c8e0bc781e09500a.tar.xz
glibc-3a8e65a0a7914ad670774161c8e0bc781e09500a.zip
Update.
1999-10-25  Andreas Jaeger  <aj@suse.de>

	* math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.

	* math/libm-test.inc (check_float_internal): Don't print ulps for
	wrong sign of zero.
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r--math/libm-test.inc5
1 files changed, 1 insertions, 4 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index b71c8ce2dc..71a846f94f 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -476,10 +476,7 @@ check_float_internal (const char *test_name, FLOAT computed, FLOAT expected,
       if (((exceptions & IGNORE_ZERO_INF_SIGN) == 0)
 	  && (computed == 0.0 && expected == 0.0
 	      && signbit(computed) != signbit (expected)))
-	{
-	  ok = 0;
-	  print_ulps (test_name, ulp);
-	}
+	ok = 0;
       else if (ulp <= max_ulp)
 	ok = 1;
       else