The ifx_int8mul() function

The ifx_int8mul() function multiplies two int8 type values.

Syntax

mint ifx_int8mul(n1, n2, product)
   ifx_int8_t *n1;
   ifx_int8_t *n2;
   ifx_int8_t *product;
n1
A pointer to the int8 structure that contains the first operand.
n2
A pointer to the int8 structure that contains the second operand.
product
A pointer to an int8 structure to contain the product of n1 * n2.

Usage

The product value can be the same as the value of either n1 or n2.

Return values

0
The operation was successful.
-1284
The operation resulted in overflow or underflow.