Trigonometric Functions in CUDA

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 ?


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

My bad. :haha: