public static float HalfToFloat (ushort val);

Parameters

valThe half precision value to convert.

Returns

float The decoded 32-bit float.

Description

Convert a half precision float to a 32-bit floating point value.

See Also: Mathf.FloatToHalf.