Page tree

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

 

JAVA

FORTRAN

C++

C

 

Link

H5T_SET_SIGN

Sets the sign property for an integer type

Procedure:

H5T_SET_SIGN ( dtype_id, sign )

Signature:

herr_t H5Tset_sign( hid_t dtype_id, H5T_sign_t sign )

SUBROUTINE h5tset_sign_f(type_id, sign, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: type_id  
                                  ! Datatype identifier 
  INTEGER, INTENT(IN) :: 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 h5tset_sign_f

Parameters:
hid_t dtype_idIN: Identifier of datatype to set
H5T_sign_t sign    IN: Sign type

Description:

 H5T_SET_SIGN sets the sign property for an integer type:

H5T_SGN_NONE (0)

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


Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

Coming Soon!

--- Last Modified: January 08, 2020 | 01:03 PM