diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-10-25 19:49:49 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-10-25 19:49:49 +0000 |
commit | 3a8e65a0a7914ad670774161c8e0bc781e09500a (patch) | |
tree | aa64c73f6f64396a5f61bfffb63322acf3d4c9a0 /math/libm-test.inc | |
parent | fc4de7058d30387e302147c6131f85440987fe5c (diff) | |
download | glibc-3a8e65a0a7914ad670774161c8e0bc781e09500a.zip glibc-3a8e65a0a7914ad670774161c8e0bc781e09500a.tar.gz glibc-3a8e65a0a7914ad670774161c8e0bc781e09500a.tar.bz2 |
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.inc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index b71c8ce..71a846f 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 |