| Parameter | Description |
|---|---|
| x | Input value. |
int The absolute value of the input.
Returns the absolute value of a int value.
| Parameter | Description |
|---|---|
| x | Input value. |
int2 The componentwise absolute value of the input.
Returns the componentwise absolute value of a int2 vector.
| Parameter | Description |
|---|---|
| x | Input value. |
int3 The componentwise absolute value of the input.
Returns the componentwise absolute value of a int3 vector.
| Parameter | Description |
|---|---|
| x | Input value. |
int4 The componentwise absolute value of the input.
Returns the componentwise absolute value of a int4 vector.
| Parameter | Description |
|---|---|
| x | Input value. |
long The absolute value of the input.
Returns the absolute value of a long value.
| Parameter | Description |
|---|---|
| x | Input value. |
float The absolute value of the input.
Returns the absolute value of a float value.
| Parameter | Description |
|---|---|
| x | Input value. |
float2 The componentwise absolute value of the input.
Returns the componentwise absolute value of a float2 vector.
| Parameter | Description |
|---|---|
| x | Input value. |
float3 The componentwise absolute value of the input.
Returns the componentwise absolute value of a float3 vector.
| Parameter | Description |
|---|---|
| x | Input value. |
float4 The componentwise absolute value of the input.
Returns the componentwise absolute value of a float4 vector.
| Parameter | Description |
|---|---|
| x | Input value. |
double The absolute value of the input.
Returns the absolute value of a double value.
| Parameter | Description |
|---|---|
| x | Input value. |
double2 The componentwise absolute value of the input.
Returns the componentwise absolute value of a double2 vector.
| Parameter | Description |
|---|---|
| x | Input value. |
double3 The componentwise absolute value of the input.
Returns the componentwise absolute value of a double3 vector.
| Parameter | Description |
|---|---|
| x | Input value. |
double4 The componentwise absolute value of the input.
Returns the componentwise absolute value of a double4 vector.