This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC] Add math tests for libieee
Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> writes:
> diff --git a/math/libm-test-support.c b/math/libm-test-support.c
> index d387f81..dabf6bc 100644
> --- a/math/libm-test-support.c
> +++ b/math/libm-test-support.c
> @@ -619,7 +619,9 @@ check_float_internal (const char *test_name, FLOAT computed, FLOAT expected,
> int errno_value = errno;
>
> test_exceptions (test_name, exceptions);
> - test_errno (test_name, errno_value, exceptions);
> + /* IEEE error handling (via libieee) doesn't support errno. */
> + if (_LIB_VERSION != _IEEE_)
> + test_errno (test_name, errno_value, exceptions);
Please, ignore this part.
I've just noticed the recent inclusion of TEST_ERRNO.
I can change this later, if it really makes sense to have these tests.
--
Tulio Magno