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

From: Mike Silbersack <>
Date: Thu, 8 Dec 2005 23:37:12 -0600 (CST)
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
Received on Fri Dec 09 2005 - 05:37:23 UTC