Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Fri, 18 May 2001 @ 15:44:07 GMT





     
  <Prev Next>   <<First <Prev
Next>
Last>>
 




Subj:   Re: SQL challenge
 
From:   Geoffrey Rommel



The following page

www.interstice.com/~sdattalo/technical/theory/sinewave.html

has a nice summary of ways to calculate sine and cosine without a built-in sin() function. Personally, I would be inclined to use method 2: just build a table with all the sines and cosines you want! (This is Teradata, after all.) You could populate it using a Perl or C program.

If you need to be really accurate, the Taylor series (method 6) is probably your best bet, but that's a lot of work.





     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008