__device__ double nan ( const char *  tagp  ) 

Return a representation of a quiet NaN. Argument tagp selects one of the possible representations.

Returns:
  • nan(tagp) returns NaN.
Note:
For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-2.


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA