Main Content

Round toward nearest integer with ties rounding to nearest even integer

`y`

and`a`

have the same`fimath`

object and`DataType`

property.When the

`DataType`

property of`a`

is`single`

, or`double`

, the`numerictype`

of`y`

is the same as that of`a`

.When the fraction length of

`a`

is zero or negative,`a`

is already an integer, and the`numerictype`

of`y`

is the same as that of`a`

.When the fraction length of

`a`

is positive, the fraction length of`y`

is`0`

, its sign is the same as that of`a`

, and its word length is the difference between the word length and the fraction length of`a`

, plus one bit. If`a`

is signed, then the minimum word length of`y`

is`2`

. If`a`

is unsigned, then the minimum word length of`y`

is`1`

.