MulOne_BNU

Multiplies unsigned integer big number by 32-bit unsigned integer.

Syntax

IppStatus ippsMulOne_BNU(const Ipp32u *a, Ipp32u *r, int n, Ipp32u w, Ipp32u *carry);

Parameters

a

Unsigned integer big number of n *32 bits.

w

Unsigned long integer of 32 bits serving as multiplier for the operation.

n

Size specified for the input parameter a and the result parameter r. The size is expressed in the number of 32-bit words.

r

Multiplication result.

carry

Multiplication carry.

Description

This function is declared in the ippcp.h file. The function computes the multiplication of an unsigned integer big number a by a 32-bit unsigned integer w. The function returns the result to the length array r, and the carry of the result to carry.

The following pseudocode represents this function:

(carry|(*r)) (*a)w.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error or warning.

ippStsNullPtrErr

Indicates an error condition if any of the specified pointers is NULL.

ippStsLengthErr

Indicates an error condition if n is less than or equal to 0.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.