Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Dec 2005 23:37:12 -0600 (CST)
From:      Mike Silbersack <silby@silby.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        src-committers@freebsd.org, Andre Oppermann <andre@freebsd.org>, cvs-src@freebsd.org, cvs-all@freebsd.org, Steve Kargl <sgk@troutmask.apl.washington.edu>, Andrey Chernov <ache@freebsd.org>
Subject:   Re: cvs commit: src/lib/msun/src e_lgammaf_r.c
Message-ID:  <20051208233246.G78724@odysseus.silby.com>
In-Reply-To: <20051208141941.L63825@delplex.bde.org>
References:  <200511280832.jAS8WGvs059057@repoman.freebsd.org> <438AD8FB.A8B96AB6@freebsd.org> <20051128172718.GA59929@troutmask.apl.washington.edu> <20051129110058.T33820@delplex.bde.org> <20051129012102.GA84108@nagual.pp.ru> <20051129184901.I34802@delplex.bde.org> <20051204231731.N43418@odysseus.silby.com> <20051208141941.L63825@delplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, 8 Dec 2005, Bruce Evans wrote:

> Whoever makes the changes would write the regression tests :-).  Mine
> are't sufficently general to commit.  In batch mode which takes about
> 10 hours on a 2GHz Athlon to check all cases for floats, they are
> currently reporting the following errors on amd64:

The regression tests don't need to be exhaustive, you could just pick a 
few values throughout the range of each function you test, and make a 
regression test like:

x = 3/2;
if (x != 1.5)
 	printf("FP regression!\n");

Heck, you could throw all the calculations into one file.

I couldn't understand much of the rest of your e-mail, and I doubt that 
anyone else could either.  That's why you're the best person to write any 
type of regression test for this.

Mike "Silby" Silbersack



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051208233246.G78724>