Marcel Sebbao wrote:

What is "computing transcendentals"?

Carrying out a process that takes a given number into an

approximation of its image under one of a certain class of

mathematical functions -- to which sine and cosine belong. This can

be quite computationally expensive, so the time the library calls

take is likely to drown out some more comparisons unless your

parameter k selects the identity map in most cases. Profile your code

with runtime comparisons to find out if sin() and cos() are hot

spots. If so, explore alternative implementations with your accuracy

requirements in mind, and if you need help with that, visit

sci.math.num-analysis. If you need help with profiling, visit

comp.programming or a group about your development environment.

http://mathworld.wolfram.com/Transce...lFunction.html
--

Quidquid latine dictum sit, altum viditur.