Intel IPP Integration Wrappers Developer Guide and Reference

ID 751823
Date 1/18/2023
Public
Document Table of Contents

iwValueSaturate

Syntax

IW_DECL(double) iwValueSaturate(
    double      val,    
    IppDataType dstType 
);

Parameters

val

Input value.

dstType

Data type of the saturation range.

Description

This function casts a value to the input type with rounding and saturation.

Return Values

Saturated value.