H5T.set_norm

Set mantissa normalization of floating-point data type

Syntax

H5T.set_norm(type_id,norm)

Description

H5T.set_norm(type_id,norm) sets the mantissa normalization of a floating-point data type. Specify norm as one of these character vectors or string scalars: 'H5T_NORM_IMPLIED', 'H5T_NORM_MSBSET', or 'H5T_NORM_NONE'.

Examples

type_id = H5T.copy('H5T_NATIVE_FLOAT');
norm_type = H5ML.get_constant_value('H5T_NORM_MSBSET');
H5T.set_norm(type_id,norm_type);

See Also