Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: michal@gortel.phys.ualberta.ca (Michal Jaegermann)
Subject: Re: sin() on alpha.
Date: 1998/05/23	[thread overview]
Message-ID: <6k6t72$phc$2@pulp.ucs.ualberta.ca> (raw)
In-Reply-To: 6k59a0$1cq$1@blue.hex.net


Christopher Browne (cbbrowne@news.hex.net) wrote:
: On Fri, 22 May 1998 02:29:35 -0500, Bruce Allen
: >
: >NO!  Use min/max (Chebyshev) polynomials to evaulate sin(x).

: In that case, you would start with an interpolation table (probably
: linear) involving some "small-but-useful" set of values to get the
: initial estimate, and then iterate to improve precision. 

Tables are really not so hot as they will be killing your caches
when it matters most.  See an article published by David Mosberger
in issues 42 and 43 of Linux Journal for a lot of details why.
A good polynomial approximation can be surprisigly good - especially
when you will think carefuly about your argument ranges.

  Michal




  reply	other threads:[~1998-05-23  4:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-22  4:00 sin() on alpha Dong-Woon Park
1998-05-22  4:00 ` Bruce Allen
1998-05-22  4:00   ` Greg Lindahl
1998-05-23  4:00   ` Christopher Browne
1998-05-23  4:00     ` Michal Jaegermann [this message]
1998-05-23  4:00     ` Linus Torvalds
1998-05-23  4:00       ` Andi Kleen
1998-05-23  4:00       ` Greg Lindahl
1998-05-24  4:00         ` sin() on alpha / Cray libm Joachim Wesner
1998-05-23  4:00   ` sin() on alpha Dong-Woon Park
1998-05-23  4:00     ` Bruce Allen
1998-05-24  4:00       ` Joachim Wesner
1998-05-24  4:00     ` Joachim Wesner
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox