Convert INT8 values
The IBM® Informix® ESQL/C library provides the following functions that facilitate conversion of the binary representation of INT8 (mi_int8) values to and from some C-language data types.
Function name | Description |
---|---|
ifx_int8cvasc() | Converts a C char type value to an mi_int8 type value |
ifx_int8cvdbl() | Converts a C double (mi_double_precision) type value to an mi_int8 type value |
ifx_int8cvdec() | Converts a mi_decimal type value to an mi_int8 type value |
ifx_int8cvflt() | Converts a C float (mi_real) type value to an mi_int8 type value |
ifx_int8cvint() | Converts a C two-byte integer value to an mi_int8 type value |
ifx_int8cvlong() | Converts a C four-byte integer value to an mi_int8 type value |
ifx_int8toasc() | Converts an mi_int8 type value to a text string |
ifx_int8todbl() | Converts an mi_int8 type value to a C double (mi_double_precision) type value |
ifx_int8todec() | Converts an mi_int8 type value to a mi_decimal type value |
ifx_int8toflt() | Converts an mi_int8 type value to a C float (mi_real) type value |
ifx_int8toint() | Converts an mi_int8 type value to a C two-byte integer value |
ifx_int8tolong() | Converts an mi_int8 type value to a C four-byte integer value |