public static Int128 Abs(
Int128 x
)
Public Shared Function Abs (
x As Int128
) As Int128
public:
static Int128 Abs(
Int128 x
)
static member Abs :
x : Int128 -> Int128
Because MinValue is one unit smaller in absolute value than MaxValue, this method throws an OverflowException when passed MinValue. Built in types such as Int32 have analogous behavior. All other values are supported.
OverflowException | x was MinValue, which has no corresponding positive value in the range of the type. |