Documentation Center

  • Trial Software
  • Product Updates

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. Valid normalization types are: 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

Was this topic helpful?