| Parameter | Description |
|---|---|
| x | The single precision float. |
uint The half precision float representation of the single precision float.
Returns the result converting a float value to its nearest half-precision floating point representation.
| Parameter | Description |
|---|---|
| x | The single precision float vector. |
uint2 The half precision float vector representation of the single precision float vector.
Returns the result of a componentwise conversion of a float2 vector to its nearest half-precision floating point representation.
| Parameter | Description |
|---|---|
| x | The single precision float vector. |
uint3 The half precision float vector representation of the single precision float vector.
Returns the result of a componentwise conversion of a float3 vector to its nearest half-precision floating point representation.
| Parameter | Description |
|---|---|
| x | The single precision float vector. |
uint4 The half precision float vector representation of the single precision float vector.
Returns the result of a componentwise conversion of a float4 vector to its nearest half-precision floating point representation.