Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


f16tof32

Returns the floating point representation of a half-precision floating point value.
Read time 1 minuteLast updated 11 days ago

Definition

f16tof32(uint)

Returns the floating point representation of a half-precision floating point value.
public static float f16tof32(uint x)

Parameters

The half precision float.

Returns

Type

Description

floatThe single precision float representation of the half precision float.

f16tof32(uint2)

Returns the floating point representation of a half-precision floating point vector.
public static float2 f16tof32(uint2 x)

Parameters

The half precision float vector.

Returns

Type

Description

float2The single precision float vector representation of the half precision float vector.

f16tof32(uint3)

Returns the floating point representation of a half-precision floating point vector.
public static float3 f16tof32(uint3 x)

Parameters

The half precision float vector.

Returns

Type

Description

float3The single precision float vector representation of the half precision float vector.

f16tof32(uint4)

Returns the floating point representation of a half-precision floating point vector.
public static float4 f16tof32(uint4 x)

Parameters

The half precision float vector.

Returns

Type

Description

float4The single precision float vector representation of the half precision float vector.