Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2012 23:13:23 -0000
From:      Stephen Montgomery-Smith <stephen@missouri.edu>
To:        Bruce Evans <brde@optusnet.com.au>
Cc:        Diane Bruce <db@db.net>, John Baldwin <jhb@freebsd.org>, David Chisnall <theraven@freebsd.org>, Bruce Evans <bde@freebsd.org>, Steve Kargl <sgk@troutmask.apl.washington.edu>, David Schultz <das@freebsd.org>, Peter Jeremy <peter@rulingia.com>, Warner Losh <imp@bsdimp.com>
Subject:   Re: Use of C99 extra long double math functions after r236148
Message-ID:  <50083FAA.109@missouri.edu>
Resent-Message-ID: <20120812231316.GB20453@server.rulingia.com>
In-Reply-To: <20120719164458.G1927@besplex.bde.org>
References:  <20120714120432.GA70706@server.rulingia.com> <20120717084457.U3890@besplex.bde.org> <5004A5C7.1040405@missouri.edu> <5004DEA9.1050001@missouri.edu> <20120717200931.U6624@besplex.bde.org> <5006D13D.2080702@missouri.edu> <20120718205625.GA409@troutmask.apl.washington.edu> <500725F2.7060603@missouri.edu> <20120719025345.GA1376@troutmask.apl.washington.edu> <50077987.1080307@missouri.edu> <20120719032706.GA1558@troutmask.apl.washington.edu> <5007826D.7060806@missouri.edu> <20120719164458.G1927@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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