Click or drag to resize

Int128 Operators and Type Conversions

The Int128 type exposes the following members.

Operators
  NameDescription
Public operatorStatic memberAddition
Computes the sum of two 128-bit integers.
Public operatorStatic memberDecrement
Decrements a 128-bit unsigned integer.
Public operatorStatic memberDivision
Computes the quotient of two 128 bit integers.
Public operatorStatic memberEquality
Tests the equality of two 128-bit integers.
Public operatorStatic member(Double to Int128)
Converts a floating-point value into a 128-bit integer.
Public operatorStatic member(BigInteger to Int128)
Converts an arbitrary-size big integer into a 128-bit integer.
Public operatorStatic member(Int128 to Int64)
Converts a 128-bit integer into a 64-bit integer.
Public operatorStatic memberGreaterThan
Indicates whether the first value is greater than the second value.
Public operatorStatic memberGreaterThanOrEqual
Indicates whether the first value is greater than or equal to the second value.
Public operatorStatic member(Int64 to Int128)
Converts a 64-bit integer into a 128-bit integer.
Public operatorStatic member(Int128 to Double)
Converts a 128-bit integer into a floating point value.
Public operatorStatic member(Int128 to BigInteger)
Converts a 128-bit integer into an arbitrary-size big integer.
Public operatorStatic memberIncrement
Increments a 128-bit integer.
Public operatorStatic memberInequality
Tests the inequality of two 128-bit integers.
Public operatorStatic memberLessThan
Indicates whether the first value is less than the second value.
Public operatorStatic memberLessThanOrEqual
Indicates whether the first value is less than or equal to the second value.
Public operatorStatic memberModulus
Computes the remainder of two 128 bit integers.
Public operatorStatic memberMultiply
Computes the product of two 128-bit integers.
Public operatorStatic memberSubtraction
Computes the difference of two 128-bit integers.
Public operatorStatic memberUnaryNegation
Negates a 128 bit integer.
Top
See Also