-
long int amd_lroundf(float f)#
Rounds a single-precision value to the nearest integer and returns it as long int.
- Parameters:
f – Input value.
- Returns:
Rounded long int.
-
long int amd_lround(double d)#
Rounds a double-precision value to the nearest integer and returns it as long int.
- Parameters:
d – Input value.
- Returns:
Rounded long int.