-
float amd_fdimf(float x, float y)#
Computes the positive difference max(x - y, 0) for single-precision values.
- Parameters:
x – Minuend.
y – Subtrahend.
- Returns:
Positive difference.
-
double amd_fdim(double x, double y)#
Computes the positive difference max(x - y, 0) for double-precision values.
- Parameters:
x – Minuend.
y – Subtrahend.
- Returns:
Positive difference.