The Int128 type exposes the following members.
Constructors
Methods
Name | Description | |
---|---|---|
![]() ![]() | Abs |
Gets the absolute value of an Int128.
|
![]() ![]() | Add |
Adds two Int128 values and returns the result.
|
![]() | Align |
Aligns the value to the next specified boundary.
|
![]() | CompareTo(Object) |
Compares the current instance with another object of the same type.
|
![]() | CompareTo(Int128) |
Compares the current instance with another object of the same type.
|
![]() ![]() | Divide |
Divides one Int128 by another and returns the result.
|
![]() ![]() | DivRem |
Divides one Int128 value by another, using signed integer division, and returns the result
and the remainder.
|
![]() | Equals(Object) |
Indicates whether this instance and a specified object are equal.
(Overrides ValueType..::..Equals(Object).) |
![]() | Equals(Int128) |
Indicates whether the current object is equal to another object of the same type.
|
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode |
Returns the hash code for this instance.
(Overrides ValueType..::..GetHashCode()()()().) |
![]() | GetPadding |
Calculates the padding required to align the value to the next specified boundary.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetTypeCode |
Returns the TypeCode for this instance.
|
![]() ![]() | Max |
Returns the larger of two Int128 values.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | Min |
Returns the smaller of two Int128 values.
|
![]() ![]() | Multiply |
Returns the product of two Int128 values.
|
![]() ![]() | Negate |
Negates an Int128.
|
![]() ![]() | Remainder |
Performs integer division on two Int128 values and returns the remainder.
|
![]() ![]() | Subtract |
Subtracts one Int128 from another and returns the result.
|
![]() | ToString()()()() | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
![]() | ToString(String, IFormatProvider) |
Formats the value of the current instance using the specified format.
|
![]() ![]() | UnsignedDivRem |
Divides one Int128 value by another, using unsigned integer division, and returns the result
and the remainder.
|
Operators
Name | Description | |
---|---|---|
![]() ![]() | Addition |
Adds the values of two specified Int128 values.
|
![]() ![]() | BitwiseAnd |
Performs a bitwise AND operation on two Int128 values.
|
![]() ![]() | BitwiseOr |
Performs a bitwise OR operation on two Int128 values.
|
![]() ![]() | Decrement |
Decrements a Int128 value by 1.
|
![]() ![]() | Division | |
![]() ![]() | Equality |
Returns a value that indicates whether two Int128 objects have the same value.
|
![]() ![]() | ExclusiveOr |
Performs a bitwise exclusive OR (XOR) operation on two Int128 values.
|
![]() ![]() | ExplicitNarrowingExplicitExplicitExplicit(Int128 to Int64) |
Converts the specfied signed 128-bit value to a signed 64-bit value.
|
![]() ![]() | ExplicitNarrowingExplicitExplicitExplicit(Int128 to UInt64) |
Converts the specfied signed 128-bit value to an unsigned 64-bit value.
|
![]() ![]() | ExplicitNarrowingExplicitExplicitExplicit(Int128 to SByte) |
Converts the specfied signed 128-bit value to a signed 8-bit value.
|
![]() ![]() | ExplicitNarrowingExplicitExplicitExplicit(Int128 to Byte) |
Converts the specfied signed 128-bit value to an unsigned 8-bit value.
|
![]() ![]() | ExplicitNarrowingExplicitExplicitExplicit(Int128 to UInt16) |
Converts the specfied signed 128-bit value to an unsigned 16-bit value.
|
![]() ![]() | ExplicitNarrowingExplicitExplicitExplicit(Int128 to Int16) |
Converts the specfied signed 128-bit value to a signed 16-bit value.
|
![]() ![]() | ExplicitNarrowingExplicitExplicitExplicit(Int128 to UInt32) |
Converts the specfied signed 128-bit value to an unsigned 32-bit value.
|
![]() ![]() | ExplicitNarrowingExplicitExplicitExplicit(Int128 to Int32) |
Converts the specfied signed 128-bit value to a signed 32-bit value.
|
![]() ![]() | GreaterThan | |
![]() ![]() | GreaterThanOrEqual | |
![]() ![]() | ImplicitWideningImplicitImplicitImplicit(Byte to Int128) |
Converts the specfied unsigned 8-bit value to a signed 128-bit value.
|
![]() ![]() | ImplicitWideningImplicitImplicitImplicit(Int16 to Int128) |
Converts the specfied signed 16-bit value to a signed 128-bit value.
|
![]() ![]() | ImplicitWideningImplicitImplicitImplicit(Int32 to Int128) |
Converts the specfied signed 32-bit value to a signed 128-bit value.
|
![]() ![]() | ImplicitWideningImplicitImplicitImplicit(Int64 to Int128) |
Converts the specfied signed 64-bit value to a signed 128-bit value.
|
![]() ![]() | ImplicitWideningImplicitImplicitImplicit(SByte to Int128) |
Converts the specfied signed 8-bit value to a signed 128-bit value.
|
![]() ![]() | ImplicitWideningImplicitImplicitImplicit(UInt16 to Int128) |
Converts the specfied unsigned 16-bit value to a signed 128-bit value.
|
![]() ![]() | ImplicitWideningImplicitImplicitImplicit(UInt32 to Int128) |
Converts the specfied unsigned 32-bit value to a signed 128-bit value.
|
![]() ![]() | ImplicitWideningImplicitImplicitImplicit(UInt64 to Int128) |
Converts the specfied unsigned 64-bit value to a signed 128-bit value.
|
![]() ![]() | Increment |
Increments a Int128 value by 1.
|
![]() ![]() | Inequality |
Returns a value that indicates whether two Int128 objects have different values.
|
![]() ![]() | LeftShift |
Shifts an Int128 value a specified number of bits to the left.
|
![]() ![]() | LessThan | |
![]() ![]() | LessThanOrEqual | |
![]() ![]() | Modulus |
Returns the remainder that results from division with two specified Int128 values.
|
![]() ![]() | Multiply |
Multiplies two specified Int128 values.
|
![]() ![]() | OnesComplement |
Returns the bitwise one's complement of an Int128 value.
|
![]() ![]() | RightShift |
Shifts an Int128 value a specified number of bits to the right.
|
![]() ![]() | Subtraction | |
![]() ![]() | UnaryNegation |
Negates a Int128 value.
|
![]() ![]() | UnaryPlus |
Returns the value of the Int128.
|
Fields
Name | Description | |
---|---|---|
![]() ![]() | MaxValue |
The maximum value a Int128 can represent.
|
![]() ![]() | MinusOne |
A Int128 value of -1.
|
![]() ![]() | MinValue |
The minimum value a Int128 can represent.
|
![]() ![]() | One |
A Int128 value of 1.
|
![]() ![]() | Zero |
A Int128 value of 0.
|
Properties
Name | Description | |
---|---|---|
![]() | High |
Gets the 64 most significant bits of the value.
|
![]() | IsEven |
Gets whether the value of this Int128 is an even number.
|
![]() | IsOne |
Gets whether the value of this Int128 is one.
|
![]() | IsPowerOfTwo |
Gets whether the value of this Int128 is a power of two.
|
![]() | IsZero |
Gets whether the value of this Int128 is zero.
|
![]() | Low |
Gets the 64 least significant bits of the value.
|
![]() | Sign |
Gets a number that indicates the sign (negative, positive, or zero) of the current Int128.
|