-
float amd_copysignf(float x, float y)#
Produces a value with the magnitude of x and the sign of y (single-precision).
- Parameters:
x – Magnitude source.
y – Sign source.
- Returns:
Value with magnitude of x and sign of y.
-
double amd_copysign(double x, double y)#
Produces a value with the magnitude of x and the sign of y (double-precision).
- Parameters:
x – Magnitude source.
y – Sign source.
- Returns:
Value with magnitude of x and sign of y.