Integration Wrappers for Intel® Integrated Performance Primitives Developer Guide and Reference 2018

iwValueRelToAbs

Syntax

IW_DECL(double) iwValueRelToAbs(
    double      val,   
    IppDataType type  
); 

Parameters

val

Input relative value.

dstType

Data type of the absolute range.

Description

This function converts a relative value in range of [0, 1] to the absolute value according to the specified type.

Return Values

Absolute value.