This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Implementatoinof Sin and Cos


Taylor Series converges very slowly in my opinion. Such functions are
normally done via a small table lookup and some sort of converging
iteration ( at least the floating point division unit I worked on does).

Most floating point calculations are done in hardware in the FPU, I
think trigonometric function are one of them.

Stefan

On Mon, 2003-07-14 at 21:48, Anup Hosangadi wrote:
> Hi,
> 
>   Can anyone tell me how the Trigonometric functions
>   like Sin and Cos are actually implemented in the 
>   glibc libraries?
> 
>   Is it done by Expansion of Taylor's series??
> 
> Thanks,
> Anup
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]