Fmax - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 English
float amd_fmaxf(float x, float y)#

Returns the larger of two single-precision values.

Parameters:
  • x – First value.

  • y – Second value.

Returns:

Maximum of x and y.

double amd_fmax(double x, double y)#

Returns the larger of two double-precision values.

Parameters:
  • x – First value.

  • y – Second value.

Returns:

Maximum of x and y.