Divides unsigned 64-bit integer by unsigned 32-bit integer.
IppStatus ippsDiv_64u32u(Ipp64u a, Ipp32u b, Ipp32u *q, Ipp32u *r);
a |
Dividend of 64 bits. |
b |
Divisor of 32 bits. |
q |
Quotient of 32 bits. |
r |
Remainder of 32 bits. |
This function is declared in the ippcp.h file. The function divides a 64-bit unsigned integer dividend by a 32-bit unsigned divisor and returns the quotient and remainder.
The following pseudocode represents this function:
a = b*q + r.
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. |
ippStsOutOfRangeErr |
Indicates an error condition if the quotient is not 32 bits. In this case the result is undefined. |
ippStsDivByZeroErr |
Indicates an error condition if zero divisor is used. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.