| Parameter | Description |
|---|---|
| x | Value to split into integral and fractional part. |
| i | Output value containing integral part of x. |
float The fractional part of x.
Splits a float value into an integral part i and a fractional part that gets returned. Both parts take the sign of the input.
| Parameter | Description |
|---|---|
| x | Value to split into integral and fractional part. |
| i | Output value containing integral part of x. |
float2 The componentwise fractional part of x.
Performs a componentwise split of a float2 vector into an integral part i and a fractional part that gets returned. Both parts take the sign of the corresponding input component.
| Parameter | Description |
|---|---|
| x | Value to split into integral and fractional part. |
| i | Output value containing integral part of x. |
float3 The componentwise fractional part of x.
Performs a componentwise split of a float3 vector into an integral part i and a fractional part that gets returned. Both parts take the sign of the corresponding input component.
| Parameter | Description |
|---|---|
| x | Value to split into integral and fractional part. |
| i | Output value containing integral part of x. |
float4 The componentwise fractional part of x.
Performs a componentwise split of a float4 vector into an integral part i and a fractional part that gets returned. Both parts take the sign of the corresponding input component.
| Parameter | Description |
|---|---|
| x | Value to split into integral and fractional part. |
| i | Output value containing integral part of x. |
double The fractional part of x.
Splits a double value into an integral part i and a fractional part that gets returned. Both parts take the sign of the input.
| Parameter | Description |
|---|---|
| x | Value to split into integral and fractional part. |
| i | Output value containing integral part of x. |
double2 The componentwise fractional part of x.
Performs a componentwise split of a double2 vector into an integral part i and a fractional part that gets returned. Both parts take the sign of the corresponding input component.
| Parameter | Description |
|---|---|
| x | Value to split into integral and fractional part. |
| i | Output value containing integral part of x. |
double3 The componentwise fractional part of x.
Performs a componentwise split of a double3 vector into an integral part i and a fractional part that gets returned. Both parts take the sign of the corresponding input component.
| Parameter | Description |
|---|---|
| x | Value to split into integral and fractional part. |
| i | Output value containing integral part of x. |
double4 The componentwise fractional part of x.
Performs a componentwise split of a double4 vector into an integral part i and a fractional part that gets returned. Both parts take the sign of the corresponding input component.