|
|
Archives of the TeradataForum
Message Posted: Fri, 18 May 2001 @ 15:44:07 GMT
Subj: | | Re: SQL challenge |
|
From: | | Geoffrey Rommel |
The following page
www.interstice.com...
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.
| |