The int8 library functions
You must perform all operations on int8 type numbers
through the IBM®
Informix® ESQL/C library
functions for the int8 data type. Any other operations, modifications,
or analyses can produce unpredictable results. The Informix
ESQL/C library
provides functions that allow you to manipulate int8 numbers
and convert int8 type numbers to and from other data types.
The following tables describes these functions.
Function name | Description | See |
---|---|---|
ifx_getserial8() | Returns an inserted SERIAL8 value | The ifx_int8add() function |
ifx_int8add() | Adds two int8 numbers | The ifx_int8cmp() function |
ifx_int8cmp() | Compares two int8 numbers | The ifx_int8copy() function |
ifx_int8copy() | Copies an int8 number | The ifx_int8cvasc() function |
ifx_int8div() | Divides two int8 numbers | The ifx_int8div() function |
ifx_int8mul() | Multiplies two int8 numbers | The ifx_int8mul() function |
ifx_int8sub() | Subtracts two int8 numbers | The ifx_int8sub() function |
Function name | Description | See |
---|---|---|
ifx_int8cvasc() | Converts a C char type value to an int8 type value | The ifx_int8cvdbl() function |
ifx_int8cvdbl() | Converts a C double type value to an int8 type value | The ifx_int8cvdbl() function |
ifx_int8cvdec() | Converts a C decimal type value to a int8 type value | The ifx_int8cvdec() function |
ifx_int8cvflt() | Converts a C float type value to an int8 type value | The ifx_int8cvflt() function |
ifx_int8cvint() | Converts a C int type value to an int8 type value | The ifx_int8cvint() function |
ifx_int8cvlong() | Converts a C 4-byte integer type value to an int8 type value | The ifx_int8cvlong() function |
ifx_int8toasc() | Converts an int8 type value to a text string | The ifx_int8toasc() function |
ifx_int8todbl() | Converts an int8 type value to a C double type value | The ifx_int8todbl() function |
ifx_int8todec() | Converts an int8 type value to a decimal type value | The ifx_int8todec() function |
ifx_int8toflt() | Converts an int8 type value to a C float type value | The ifx_int8toflt() function |
ifx_int8toint() | Converts an int8 type value to a C int type value | The ifx_int8toint() function |
ifx_int8tolong() | Converts an int8 type value to a C 4-byte integer type value | The ifx_int8tolong() function |