Fmax - Fmax - 5.3 English - 68552

AOCL API Guide (68552)

Document_ID
68552
Release_Date
2026-05-13
Version
5.3 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.