f16tof32
Returns the floating point representation of a half-precision floating point value.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
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 |
|---|---|
| float | The 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 |
|---|---|
| float2 | The 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 |
|---|---|
| float3 | The 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 |
|---|---|
| float4 | The single precision float vector representation of the half precision float vector. |