Trigonometric Functions in CUDA

Hi,
I am trying to do spherical texture mapping and hence using trigonometric functions such as “acos” & “sin”.
Unfortunately these are double precision functions and CUDA only supports single precision.

How to go about this ?

Cheers

CUDA supports acosf() and asinf(). See pg. 77-79 in the Programming Guide.

My bad. External Media