The ifx_int8sub() function

The ifx_int8sub() function subtracts two int8 type values.

Syntax

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

Usage

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

Return values

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