Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5T_GET_PRECISION

Returns the precision of an atomic datatype.

Procedure:

H5T_GET_PRECISION(dtype_id)

Signature:

size_t H5Tget_precision( hid_t dtype_id )

SUBROUTINE h5tget_precision_f(type_id, precision, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: type_id     ! Datatype identifier 
  INTEGER(SIZE_T), INTENT(OUT) :: precision ! Datatype precision
  INTEGER, INTENT(OUT) :: hdferr            ! Error code
END SUBROUTINE h5tget_precision_f

Parameters:
hid_t dtype_id    IN: Identifier of datatype to query.

Description:

H5Tget_precision returns the precision of an atomic datatype. The precision is the number of significant bits which, unless padding is present, is 8 times larger than the value returned by H5Tget_size.

Returns:

Returns the number of significant bits if successful; otherwise 0.

Example:

Coming Soon!

--- Last Modified: December 04, 2017 | 07:01 AM