3.108. __nv_fast_cosf

float @__nv_fast_cosf(float %x)

Calculate the fast approximate cosine of the input argument.

Calculate the fast approximate cosine of the input argument x, measured in radians.

Note

For accuracy information, see the CUDA C++ Programming Guide, Mathematical Functions Appendix, Intrinsic Functions section.

Note

Input and output in the denormal range is flushed to sign preserving 0.0.

Returns

Returns the approximate cosine of x.