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

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

MaxOrder

Computes the maximum order of a vector.

Syntax

IppStatus ippsMaxOrder_16s(const Ipp16s* pSrc, int len, int* pOrder);

IppStatus ippsMaxOrder_32s(const Ipp32s* pSrc, int len, int* pOrder);

IppStatus ippsMaxOrder_32f(const Ipp32f* pSrc, int len, int* pOrder);

IppStatus ippsMaxOrder_64f(const Ipp64f* pSrc, int len, int* pOrder);

Include Files

ipps.h

Domain Dependencies

Headers: ippcore.h, ippvm.h

Libraries: ippcore.lib, ippvm.lib

Parameters

pSrc

Pointer to the source vector.

len

Number of elements in the vector.

pOrder

Pointer to the result value.

Description

This function finds the maximum binary number in elements of the exponent vector pSrc, and stores the result in pOrder.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pSrc or pOrder pointer is NULL.

ippStsSizeErr

Indicates an error when len is less than or equal to 0.

ippStsNanArg

Indicates a warning when NaN is encountered in the input data vector.