Fmod - 5.2 English - 68552

AOCL API Guide (68552)

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

Computes the remainder of the division operation x/y (single-precision).

Parameters:
  • x – Numerator.

  • y – Denominator.

Returns:

Remainder of x divided by y.

double amd_fmod(double x, double y)#

Computes the remainder of the division operation x/y (double-precision).

Parameters:
  • x – Numerator.

  • y – Denominator.

Returns:

Remainder of x divided by y.