cvs commit: src/lib/msun/src e_lgammaf_r.c

Mike Silbersack silby at silby.com
Thu Dec 8 21:37:24 PST 2005


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


More information about the cvs-src mailing list