-
float amd_roundf(float f)#
Rounds a single-precision value to the nearest integer, halfway cases away from zero.
- Parameters:
f – Input value.
- Returns:
Rounded value.
-
double amd_round(double f)#
Rounds a double-precision value to the nearest integer, halfway cases away from zero.
- Parameters:
f – Input value.
- Returns:
Rounded value.