Page tree

The license could not be verified: License Certificate has expired!

 

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:

 H5T_GET_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 H5T_GET_SIZE.

Returns:

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

Example:

Coming Soon!

--- Last Modified: May 16, 2019 | 11:27 AM