__device__ float fmaxf ( float  x,
float  y 
)

Determines the maximum numeric value of the arguments x and y. Treats NaN arguments as missing data. If one argument is a NaN and the other is legitimate numeric value, the numeric value is chosen.

Returns:
Returns the maximum numeric values of the arguments x and y.
  • If both arguments are NaN, returns NaN.
  • If one argument is NaN, returns the numeric argument.
Note:
For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-1.


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA