Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-BD6D1B82-037A-48B0-9285-317A9D22DE81
Visible to Intel only — GUID: GUID-BD6D1B82-037A-48B0-9285-317A9D22DE81
Rounding Mode
General signal processing functions use rounding. The default rounding mode is nearest even, that is the fixed point number x=N + α, 0 ≤ α < 1, where N is an integer number, is rounded as given by:

For example, 1.5 will be rounded to 2 and 2.5 to 2.
Some functions have additional rounding modes, which are set by the parameter roundMode.
- Functions for data compression, data integrity, string processing and fixed-accuracy arithmetic do not perform rounding.