libdevice User's Guide (PDF) - CUDA Toolkit v5.5 for POWER8 (older) - Last updated January 10, 2015 - Send Feedback

3.151. __nv_fmaxf

Prototype:

float @__nv_fmaxf(float %x, float %y) 

Description:

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-2.

Library Availability:

Compute 2.0: Yes

Compute 3.0: Yes

Compute 3.5: Yes


libdevice User's Guide (PDF) - CUDA Toolkit v5.5 for POWER8 (older) - Last updated January 10, 2015 - Send Feedback