![]() |
HDF5 Last Updated on 2025-12-07
The HDF5 Field Guide
|
Alternative (non-IEEE) floating point types.
| Datatype | Description |
|---|---|
| H5T_FLOAT_BFLOAT16BE | 16-bit big-endian bfloat16 floating point |
| H5T_FLOAT_BFLOAT16LE | 16-bit little-endian bfloat16 floating point |
| H5T_FLOAT_F8E4M3 | 8-bit FP8 E4M3 (4 exponent bits, 3 mantissa bits) floating point |
| H5T_FLOAT_F8E5M2 | 8-bit FP8 E5M2 (5 exponent bits, 2 mantissa bits) floating point |
Macros | |
| #define | H5T_FLOAT_BFLOAT16BE (H5OPEN H5T_FLOAT_BFLOAT16BE_g) |
| #define | H5T_FLOAT_BFLOAT16LE (H5OPEN H5T_FLOAT_BFLOAT16LE_g) |
| #define | H5T_FLOAT_F8E4M3 (H5OPEN H5T_FLOAT_F8E4M3_g) |
| #define | H5T_FLOAT_F8E5M2 (H5OPEN H5T_FLOAT_F8E5M2_g) |
| #define H5T_FLOAT_BFLOAT16BE (H5OPEN H5T_FLOAT_BFLOAT16BE_g) |
16-bit big-endian bfloat16 floating-point numbers
| #define H5T_FLOAT_BFLOAT16LE (H5OPEN H5T_FLOAT_BFLOAT16LE_g) |
16-bit little-endian bfloat16 floating-point numbers
| #define H5T_FLOAT_F8E4M3 (H5OPEN H5T_FLOAT_F8E4M3_g) |
8-bit FP8 E4M3 (4 exponent bits, 3 mantissa bits) floating-point numbers
| #define H5T_FLOAT_F8E5M2 (H5OPEN H5T_FLOAT_F8E5M2_g) |
8-bit FP8 E5M2 (5 exponent bits, 2 mantissa bits) floating-point numbers