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: Tue, 29 May 2012 14:46:21 +0300

 On Wed, May 09, 2012 at 06:10:05AM +0000, Tetsuya Isaki wrote:
 >  How about the method to compare with the pre-calculated
 >  constants (like cos_angles test in t_cos.c)?
 
 That is one option sure. But if there is no immedate fix available, we
 likely want to count these cases as expected failures. So I think we can put
 something like the following to the beginning of these cases:
 
        if (exp(1.0) == 0.0) {
                atf_tc_expect_fail("PR lib/46433");
                atf_tc_fail("exp(1.0) = 0.0");
        }
 
        [start the actual test]
 
 - Jukka.
 


Home | Main Index | Thread Index | Old Index