Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5T_GET_NORM

Retrieves mantissa normalization of a floating-point datatype

Procedure:

H5T_GET_NORM (dtype_id)

Signature:

H5T_norm_t H5Tget_norm( hid_t dtype_id )

SUBROUTINE h5tget_norm_f(type_id, norm, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: type_id  
                                 ! Datatype identifier 
  INTEGER, INTENT(OUT) :: norm   ! Mantissa normalization of a 
                                 ! floating-point datatype
                                 ! Valid normalization types are:
                                 !    H5T_NORM_IMPLIED_F(0) 
                                 !        MSB of mantissa is not 
                                 !        stored, always 1
                                 !    H5T_NORM_MSBSET_F(1) 
                                 !        MSB of mantissa is always 1 
                                 !    H5T_NORM_NONE_F(2) 
                                 !        Mantissa is not normalized
  INTEGER, INTENT(OUT) :: hdferr ! Error code
END SUBROUTINE h5tget_norm_f

Parameters:
hid_t dtype_id    IN: Identifier of datatype to query

Description:

 H5T_GET_NORM retrieves the mantissa normalization of a floating-point datatype. Valid normalization types are:

H5T_NORM_IMPLIED (0)MSB of mantissa is not stored, always 1
H5T_NORM_MSBSET (1)MSB of mantissa is always 1
H5T_NORM_NONE (2)Mantissa is not normalized

Returns:

Returns a valid normalization type if successful; otherwise H5T_NORM_ERROR (-1).

Example:

Coming Soon!

--- Last Modified: May 16, 2019 | 10:12 AM