Integration Wrappers for Intel® Integrated Performance Primitives Developer Guide and Reference 2018
IW_DECL(double) iwValueSaturate(
double val,
IppDataType dstType
);
Input value.
Data type of the saturation range.
This function casts a value to the input type with rounding and saturation.
Saturated value.