convergent
Round toward nearest integer with ties rounding to nearest even integer
Description
Examples
Input Arguments
Algorithms
- yand- ahave the same- fimathobject and- DataTypeproperty.
- When the - DataTypeproperty of- ais- single, or- double, the- numerictypeof- yis the same as that of- a.
- When the fraction length of - ais zero or negative,- ais already an integer, and the- numerictypeof- yis the same as that of- a.
- When the fraction length of - ais positive, the fraction length of- yis- 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- ais signed, then the minimum word length of- yis- 2. If- ais unsigned, then the minimum word length of- yis- 1.
Extended Capabilities
Version History
Introduced before R2006a