Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5T_GET_SIGN

Retrieves the sign type for an integer type.

Procedure:

H5T_GET_SIGN(dtype_id)

Signature:

H5T_sign_t H5Tget_sign( hid_t dtype_id )

SUBROUTINE h5tget_sign_f(type_id, sign, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: type_id  ! Datatype identifier 
  INTEGER, INTENT(OUT) :: sign           ! Sign type for an integer type
                                         ! Possible values are:
                                         !    Unsigned integer type 
                                         !        H5T_SGN_NONE_F = 0
                                         !    Two's complement signed 
                                         !        integer type
                                         !        H5T_SGN_2_F = 1
                                         !    or error value
                                         !         H5T_SGN_ERROR_F = -1 
  INTEGER, INTENT(OUT) :: hdferr         ! Error code
END SUBROUTINE h5tget_sign_f

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

Description:

H5Tget_sign retrieves the sign type for an integer type. Valid types are:

H5T_SGN_NONE (0)Unsigned integer type.H5T_SGN_2 (1)Two's complement signed integer type.

Returns:

Returns a valid sign type if successful; otherwise H5T_SGN_ERROR (-1).

Example:

Coming Soon!

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