Routines (alphabetical) > Routines: H > HDF5 Routines > H5T_GET_FIELDS

# H5T_GET_FIELDS

The H5T_GET_FIELDS function retrieves information about the positions and sizes of bit fields within a floating-point datatype.

## Syntax

Result = H5T_GET_FIELDS(Datatype_id)

## Return Value

Returns a structure named H5T_GET_FIELDS containing the following tags:

### TYPE_ID

The datatype’s identifier Datatype_id.

### SIGN_POS

The position of the floating-point sign bit.

### EXP_POS

The bit position of the exponent.

### EXP_SIZE

The size of the exponent in bits.

### MAN_POS

The bit position of the mantissa.

### MAN_SIZE

The size of the mantissa in bits.

## Arguments

### Datatype_id

An integer representing the datatype’s identifier to be queried.

## Keywords

None

## Version History

5.6 | Introduced

## See Also

H5T_GET_EBIAS, H5T_GET_INPAD, H5T_GET_NORM, H5T_GET_OFFSET, H5T_GET_ORDER, H5T_GET_PAD, H5T_GET_PRECISION