Re: Problems to calculate sin
- From: Mark Thornton <mark.p.thornton@xxxxxxxxxxxx>
- Date: Tue, 04 Mar 2008 20:10:31 GMT
Thomas.a.mcglynn@xxxxxxxx wrote:
Table lookup and interpolation might be faster, but I wouldn't bet onEven with range reduction and say cubic interpolation you would still need an enormous table to give the required accuracy. The interpolation would cost almost as much as the series evaluation. Tables are more common when the accuracy requirement is low and the processor has a low performance FPU (or no hardware floating point at all).
it, e.g., finding the integer index into the table given the real
input value probably soaks up a few cycles. Note that table lookup
would still have to do a range reduction first if the table were to be
any feasible size.
Mark Thornton
.
- Follow-Ups:
- Re: Problems to calculate sin
- From: Thomas . a . mcglynn
- Re: Problems to calculate sin
- References:
- Problems to calculate sin
- From: Steve70
- Re: Problems to calculate sin
- From: Sanny
- Re: Problems to calculate sin
- From: Patricia Shanahan
- Re: Problems to calculate sin
- From: Sanny
- Re: Problems to calculate sin
- From: Thomas . a . mcglynn
- Problems to calculate sin
- Prev by Date: Re: incoming connection port 80
- Next by Date: Re: Web Spider
- Previous by thread: Re: Problems to calculate sin
- Next by thread: Re: Problems to calculate sin
- Index(es):