H5T.get_ebias

Exponent bias of floating-point type

Syntax

output = H5T.get_ebias(type_id)

Description

output = H5T.get_ebias(type_id) returns the exponent bias of a floating-point type. type_id is data type identifier.

Examples

fid = H5F.open('example.h5');
dset_id = H5D.open(fid,'/g3/float');
type_id = H5D.get_type(dset_id);
ebias = H5T.get_ebias(type_id);

See Also

Was this topic helpful?