Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

H5T.set_fields

Set sizes and locations of floating-point bit fields

Syntax

H5T.set_fields(type_id,spos,epos,esize,mpos,msize)

Description

H5T.set_fields(type_id,spos,epos,esize,mpos,msize) sets the locations and sizes of the various floating-point bit fields. spos is the sign position. epos is the exponent in bits. esize is the size of exponent in bits. mpos is the mantissa bit position. msize is the size of the mantissa in bits.

Examples

type_id = H5T.copy('H5T_NATIVE_DOUBLE');
H5T.set_fields(type_id,30,24,6,0,2);

See Also

Was this topic helpful?