Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

math.f16tof32

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static float f16tof32(uint x);

Parameters

Parameter Description
x The half precision float.

Returns

float The single precision float representation of the half precision float.

Description

Returns the floating point representation of a half-precision floating point value.


Declaration

public static float2 f16tof32(uint2 x);

Parameters

Parameter Description
x The half precision float vector.

Returns

float2 The single precision float vector representation of the half precision float vector.

Description

Returns the floating point representation of a half-precision floating point vector.


Declaration

public static float3 f16tof32(uint3 x);

Parameters

Parameter Description
x The half precision float vector.

Returns

float3 The single precision float vector representation of the half precision float vector.

Description

Returns the floating point representation of a half-precision floating point vector.


Declaration

public static float4 f16tof32(uint4 x);

Parameters

Parameter Description
x The half precision float vector.

Returns

float4 The single precision float vector representation of the half precision float vector.

Description

Returns the floating point representation of a half-precision floating point vector.