Remainder - 5.2 English - 68552

AOCL API Guide (68552)

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

Computes the IEEE 754-style remainder of x with respect to y (single-precision).

Parameters:
  • x – Numerator.

  • y – Denominator.

Returns:

Remainder value.

double amd_remainder(double x, double y)#

Computes the IEEE 754-style remainder of x with respect to y (double-precision).

Parameters:
  • x – Numerator.

  • y – Denominator.

Returns:

Remainder value.