From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,2cb1c7dcdf4349e1 X-Google-Attributes: gid111c93,public From: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Subject: Re: sin() on alpha. Date: 1998/05/23 Message-ID: <6k6t72$phc$2@pulp.ucs.ualberta.ca>#1/1 X-Deja-AN: 355862699 References: <3565295F.7367C07E@dirac.phys.uwm.edu> <6k59a0$1cq$1@blue.hex.net> Reply-To: michal@gortel.phys.ualberta.ca Organization: Disorganized Bits Newsgroups: comp.os.linux.alpha 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