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-6AC70916-F827-4453-B374-C8BEE00DE99B
Visible to Intel only — GUID: GUID-6AC70916-F827-4453-B374-C8BEE00DE99B
Rounding Mode
As many Intel IPP functions have to meet the bit-exact requirement, image processing functions use rounding. The default rounding mode for all functions can be described as "nearest even", that is the fixed point number x=N + α, 0 ≤ α < 0, where N is an integer number, is rounded as given by:

For example, 1.5 is rounded to 2, and 2.5 to 2.
Some image processing functions have additional rounding modes, which are set by the parameter roundMode.