HM_getmachinesizeoffloat()

Gets the hardware size of a float.

Syntax

int HM_getmachinesizeoffloat(int machine);

Type

HyperMesh hmlib Function

Description

Gets the hardware size of a float.

Inputs

machine
The value returned from HM_getmachinetype().

Example

The size of a float.

Most hardware platforms return 4 bytes, except the Cray, which returns 8 bytes.

Errors

None.