Use of C99 extra long double math functions after r236148

Stephen Montgomery-Smith stephen at missouri.edu
Sun Aug 12 23:13:23 UTC 2012


On 07/19/2012 02:41 AM, Bruce Evans wrote:

> It's OK for development.  Not so OK for testing.  My tests cover NaNs too,
> and try not to have special knowledge of exceptional cases, so if the
> NaN case takes many of times longer than the usual case it will slow down
> the tests significantly.

OK, I'll go back to the click code I found in the csqrt function.

However, my personal experience is that when numerics has nans in it, 
that the program slows down to snails pace.  This is with FreeBSD.  This 
is actually quite annoying.  A program that takes 30 seconds suddenly 
takes 10 minutes, and when you look at the output it is all nans.  All 
that time for nothing!

I will look in fdlibm as you suggest.


More information about the freebsd-numerics mailing list