Overload List
| # | Signature | Description |
|---|---|---|
| 1 | Double Abs(Double X) | |
| 2 | Int16 Abs(Int16 i) | |
| 3 | Int32 Abs(Int32 X) | |
| 4 | Int64 Abs(Int64 X) | |
| 5 | Single Abs(Single i) | |
| 6 | Single Absf(Single X) | Absolute value in single precision. |
Overload 1: Double Abs(Double X)
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Double | scalar |
Returns: Double
Overload 2: Int16 Abs(Int16 i)
| # | Name | Type | Description |
|---|---|---|---|
| 1 | i | Int16 |
Returns: Int16
Overload 3: Int32 Abs(Int32 X)
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Int32 |
Returns: Int32
Overload 4: Int64 Abs(Int64 X)
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Int64 |
Returns: Int64
Overload 5: Single Abs(Single i)
| # | Name | Type | Description |
|---|---|---|---|
| 1 | i | Single | scalar |
Returns: Single
Overload 6: Single Absf(Single X)
Absolute value in single precision.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Single | scalar |
Returns: Single - |X| computed strictly at single width (the Abs intrinsic promotes a single argument to double on x64).