Llround - Llround - 5.3 English - 68552

AOCL API Guide (68552)

Document_ID
68552
Release_Date
2026-05-13
Version
5.3 English
long long int amd_llroundf(float f)#

Rounds a single-precision value to the nearest integer and returns it as long long int.

Parameters:

f – Input value.

Returns:

Rounded long long int.

long long int amd_llround(double d)#

Rounds a double-precision value to the nearest integer and returns it as long long int.

Parameters:

d – Input value.

Returns:

Rounded long long int.