Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 10/31/2024
Public
Document Table of Contents

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.

IMPORTANT:

  • Functions for data compression, data integrity, string processing and fixed-accuracy arithmetic do not perform rounding.