NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/46433: tests/lib/libm/t_exp should not use exp() itself
The following reply was made to PR lib/46433; it has been noted by GNATS.
From: Jukka Ruohonen <jruohonen%iki.fi@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: lib/46433: tests/lib/libm/t_exp should not use exp() itself
Date: Wed, 9 May 2012 08:53:41 +0300
On Wed, May 09, 2012 at 03:05:00AM +0000, isaki%NetBSD.org@localhost wrote:
> for exp(). For example, this test will pass if a broken exp()
> that always return zero.
Do you have an opinion on how to fix this (and the related issues)?
In my opinion: if a precondition for a test is not satisfied, the test
should be skipped. Alternatively, we could append a "broken exp(3) check"
to these tests and record expected failures on exotic things like VAX or
m68k without FPU. For the first option, it would be desirable to have
machine-dependent preprocessor conditionals (cf. "_HAVE_EXP_") for each and
every math(3) function.
- Jukka.
Home |
Main Index |
Thread Index |
Old Index