Hypot - Hypot - 5.3 English - 68552

AOCL API Guide (68552)

Document_ID
68552
Release_Date
2026-05-13
Version
5.3 English
float amd_hypotf(float x, float y)#

Computes sqrt(x^2 + y^2) for two single-precision inputs.

Parameters:
  • x – First value.

  • y – Second value.

Returns:

Euclidean norm of (x, y).

double amd_hypot(double x, double y)#

Computes sqrt(x^2 + y^2) for two double-precision inputs.

Parameters:
  • x – First value.

  • y – Second value.

Returns:

Euclidean norm of (x, y).