convergent
Round toward nearest integer with ties rounding to nearest even integer
Description
Examples
Input Arguments
Algorithms
yandahave the samefimathobject andDataTypeproperty.When the
DataTypeproperty ofaissingle, ordouble, thenumerictypeofyis the same as that ofa.When the fraction length of
ais zero or negative,ais already an integer, and thenumerictypeofyis the same as that ofa.When the fraction length of
ais positive, the fraction length ofyis0, its sign is the same as that ofa, and its word length is the difference between the word length and the fraction length ofa, plus one bit. Ifais signed, then the minimum word length ofyis2. Ifais unsigned, then the minimum word length ofyis1.
Extended Capabilities
Version History
Introduced before R2006a