HDFql Reference Manual v2.6.0

6.1.10DOUBLE

The HDFql DOUBLE data type stores values between -1.79E+308 and 1.79E+308 and occupies 8 bytes in memory. It represents the data type of an HDF5 H5T_NATIVE_DOUBLE dataset/attribute or of a result set that stores elements of this type (which can be retrieved using the HDFQL_CURSOR_GET_DOUBLE function when working with cursors). Depending on the programming language supported by HDFql, the DOUBLE data type is represented by:

  • In C, the “double” data type.
  • In C++, the “double” data type.
  • In Java, the “double” data type (or corresponding wrapper class “Double”).
  • In Python, the “float64” NumPy data type.
  • In C#, the “Double” data type (or corresponding alias “double”).
  • In Fortran, the “REAL(KIND = 8)” or “DOUBLE PRECISION” data type.
  • In R, the “numeric” or “double” data type.
  • In MATLAB, the “double” data type.