The FLOAT data type

The SQL FLOAT data type can hold double-precision floating-point values. The DataBlade® API supports the FLOAT data type with the mi_double_precision data type. The mi_double_precision data type stores internal FLOAT values, as 64-bit floating-point values.

Values of the mi_double_precision data type cannot fit into an MI_DATUM structure. They must be passed by reference within C UDRs.

All data types, including mi_double_precision, must be passed by reference within client LIBMI applications.

Important: To make your DataBlade API module portable across different architectures, it is recommended that you use the DataBlade API data type, mi_double_precision, instead of the native C-language counterpart, double. The mi_double_precision data type handles the different sizes of large floating-point values across computer architectures.