Int128 结构

定义

表示 128 位有符号整数。

public value class Int128 : IComparable<Int128>, IEquatable<Int128>, IParsable<Int128>, ISpanParsable<Int128>, System::Numerics::IAdditionOperators<Int128, Int128, Int128>, System::Numerics::IAdditiveIdentity<Int128, Int128>, System::Numerics::IBinaryInteger<Int128>, System::Numerics::IBinaryNumber<Int128>, System::Numerics::IBitwiseOperators<Int128, Int128, Int128>, System::Numerics::IComparisonOperators<Int128, Int128, bool>, System::Numerics::IDecrementOperators<Int128>, System::Numerics::IDivisionOperators<Int128, Int128, Int128>, System::Numerics::IEqualityOperators<Int128, Int128, bool>, System::Numerics::IIncrementOperators<Int128>, System::Numerics::IMinMaxValue<Int128>, System::Numerics::IModulusOperators<Int128, Int128, Int128>, System::Numerics::IMultiplicativeIdentity<Int128, Int128>, System::Numerics::IMultiplyOperators<Int128, Int128, Int128>, System::Numerics::INumber<Int128>, System::Numerics::INumberBase<Int128>, System::Numerics::IShiftOperators<Int128, int, Int128>, System::Numerics::ISignedNumber<Int128>, System::Numerics::ISubtractionOperators<Int128, Int128, Int128>, System::Numerics::IUnaryNegationOperators<Int128, Int128>, System::Numerics::IUnaryPlusOperators<Int128, Int128>
public value class Int128 : IComparable<Int128>, IEquatable<Int128>, IParsable<Int128>, ISpanParsable<Int128>, IUtf8SpanParsable<Int128>, System::Numerics::IAdditionOperators<Int128, Int128, Int128>, System::Numerics::IAdditiveIdentity<Int128, Int128>, System::Numerics::IBinaryInteger<Int128>, System::Numerics::IBinaryNumber<Int128>, System::Numerics::IBitwiseOperators<Int128, Int128, Int128>, System::Numerics::IComparisonOperators<Int128, Int128, bool>, System::Numerics::IDecrementOperators<Int128>, System::Numerics::IDivisionOperators<Int128, Int128, Int128>, System::Numerics::IEqualityOperators<Int128, Int128, bool>, System::Numerics::IIncrementOperators<Int128>, System::Numerics::IMinMaxValue<Int128>, System::Numerics::IModulusOperators<Int128, Int128, Int128>, System::Numerics::IMultiplicativeIdentity<Int128, Int128>, System::Numerics::IMultiplyOperators<Int128, Int128, Int128>, System::Numerics::INumber<Int128>, System::Numerics::INumberBase<Int128>, System::Numerics::IShiftOperators<Int128, int, Int128>, System::Numerics::ISignedNumber<Int128>, System::Numerics::ISubtractionOperators<Int128, Int128, Int128>, System::Numerics::IUnaryNegationOperators<Int128, Int128>, System::Numerics::IUnaryPlusOperators<Int128, Int128>
public readonly struct Int128 : IComparable<Int128>, IEquatable<Int128>, IParsable<Int128>, ISpanParsable<Int128>, System.Numerics.IAdditionOperators<Int128,Int128,Int128>, System.Numerics.IAdditiveIdentity<Int128,Int128>, System.Numerics.IBinaryInteger<Int128>, System.Numerics.IBinaryNumber<Int128>, System.Numerics.IBitwiseOperators<Int128,Int128,Int128>, System.Numerics.IComparisonOperators<Int128,Int128,bool>, System.Numerics.IDecrementOperators<Int128>, System.Numerics.IDivisionOperators<Int128,Int128,Int128>, System.Numerics.IEqualityOperators<Int128,Int128,bool>, System.Numerics.IIncrementOperators<Int128>, System.Numerics.IMinMaxValue<Int128>, System.Numerics.IModulusOperators<Int128,Int128,Int128>, System.Numerics.IMultiplicativeIdentity<Int128,Int128>, System.Numerics.IMultiplyOperators<Int128,Int128,Int128>, System.Numerics.INumber<Int128>, System.Numerics.INumberBase<Int128>, System.Numerics.IShiftOperators<Int128,int,Int128>, System.Numerics.ISignedNumber<Int128>, System.Numerics.ISubtractionOperators<Int128,Int128,Int128>, System.Numerics.IUnaryNegationOperators<Int128,Int128>, System.Numerics.IUnaryPlusOperators<Int128,Int128>
public readonly struct Int128 : IComparable<Int128>, IEquatable<Int128>, IParsable<Int128>, ISpanParsable<Int128>, IUtf8SpanParsable<Int128>, System.Numerics.IAdditionOperators<Int128,Int128,Int128>, System.Numerics.IAdditiveIdentity<Int128,Int128>, System.Numerics.IBinaryInteger<Int128>, System.Numerics.IBinaryNumber<Int128>, System.Numerics.IBitwiseOperators<Int128,Int128,Int128>, System.Numerics.IComparisonOperators<Int128,Int128,bool>, System.Numerics.IDecrementOperators<Int128>, System.Numerics.IDivisionOperators<Int128,Int128,Int128>, System.Numerics.IEqualityOperators<Int128,Int128,bool>, System.Numerics.IIncrementOperators<Int128>, System.Numerics.IMinMaxValue<Int128>, System.Numerics.IModulusOperators<Int128,Int128,Int128>, System.Numerics.IMultiplicativeIdentity<Int128,Int128>, System.Numerics.IMultiplyOperators<Int128,Int128,Int128>, System.Numerics.INumber<Int128>, System.Numerics.INumberBase<Int128>, System.Numerics.IShiftOperators<Int128,int,Int128>, System.Numerics.ISignedNumber<Int128>, System.Numerics.ISubtractionOperators<Int128,Int128,Int128>, System.Numerics.IUnaryNegationOperators<Int128,Int128>, System.Numerics.IUnaryPlusOperators<Int128,Int128>
type Int128 = struct
    interface IFormattable
    interface IParsable<Int128>
    interface ISpanFormattable
    interface ISpanParsable<Int128>
    interface IAdditionOperators<Int128, Int128, Int128>
    interface IAdditiveIdentity<Int128, Int128>
    interface IBinaryInteger<Int128>
    interface IBinaryNumber<Int128>
    interface IBitwiseOperators<Int128, Int128, Int128>
    interface IComparisonOperators<Int128, Int128, bool>
    interface IEqualityOperators<Int128, Int128, bool>
    interface IDecrementOperators<Int128>
    interface IDivisionOperators<Int128, Int128, Int128>
    interface IIncrementOperators<Int128>
    interface IModulusOperators<Int128, Int128, Int128>
    interface IMultiplicativeIdentity<Int128, Int128>
    interface IMultiplyOperators<Int128, Int128, Int128>
    interface INumber<Int128>
    interface INumberBase<Int128>
    interface ISubtractionOperators<Int128, Int128, Int128>
    interface IUnaryNegationOperators<Int128, Int128>
    interface IUnaryPlusOperators<Int128, Int128>
    interface IShiftOperators<Int128, int, Int128>
    interface IMinMaxValue<Int128>
    interface ISignedNumber<Int128>
type Int128 = struct
    interface IFormattable
    interface IParsable<Int128>
    interface ISpanFormattable
    interface ISpanParsable<Int128>
    interface IAdditionOperators<Int128, Int128, Int128>
    interface IAdditiveIdentity<Int128, Int128>
    interface IBinaryInteger<Int128>
    interface IBinaryNumber<Int128>
    interface IBitwiseOperators<Int128, Int128, Int128>
    interface IComparisonOperators<Int128, Int128, bool>
    interface IEqualityOperators<Int128, Int128, bool>
    interface IDecrementOperators<Int128>
    interface IDivisionOperators<Int128, Int128, Int128>
    interface IIncrementOperators<Int128>
    interface IModulusOperators<Int128, Int128, Int128>
    interface IMultiplicativeIdentity<Int128, Int128>
    interface IMultiplyOperators<Int128, Int128, Int128>
    interface INumber<Int128>
    interface INumberBase<Int128>
    interface ISubtractionOperators<Int128, Int128, Int128>
    interface IUnaryNegationOperators<Int128, Int128>
    interface IUnaryPlusOperators<Int128, Int128>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<Int128>
    interface IShiftOperators<Int128, int, Int128>
    interface IMinMaxValue<Int128>
    interface ISignedNumber<Int128>
type Int128 = struct
    interface IFormattable
    interface IParsable<Int128>
    interface ISpanFormattable
    interface ISpanParsable<Int128>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<Int128>
    interface IAdditionOperators<Int128, Int128, Int128>
    interface IAdditiveIdentity<Int128, Int128>
    interface IBinaryInteger<Int128>
    interface IBinaryNumber<Int128>
    interface IBitwiseOperators<Int128, Int128, Int128>
    interface IComparisonOperators<Int128, Int128, bool>
    interface IEqualityOperators<Int128, Int128, bool>
    interface IDecrementOperators<Int128>
    interface IDivisionOperators<Int128, Int128, Int128>
    interface IIncrementOperators<Int128>
    interface IModulusOperators<Int128, Int128, Int128>
    interface IMultiplicativeIdentity<Int128, Int128>
    interface IMultiplyOperators<Int128, Int128, Int128>
    interface INumber<Int128>
    interface INumberBase<Int128>
    interface ISubtractionOperators<Int128, Int128, Int128>
    interface IUnaryNegationOperators<Int128, Int128>
    interface IUnaryPlusOperators<Int128, Int128>
    interface IShiftOperators<Int128, int, Int128>
    interface IMinMaxValue<Int128>
    interface ISignedNumber<Int128>
Public Structure Int128
Implements IAdditionOperators(Of Int128, Int128, Int128), IAdditiveIdentity(Of Int128, Int128), IBinaryInteger(Of Int128), IBinaryNumber(Of Int128), IBitwiseOperators(Of Int128, Int128, Int128), IComparable(Of Int128), IComparisonOperators(Of Int128, Int128, Boolean), IDecrementOperators(Of Int128), IDivisionOperators(Of Int128, Int128, Int128), IEqualityOperators(Of Int128, Int128, Boolean), IEquatable(Of Int128), IIncrementOperators(Of Int128), IMinMaxValue(Of Int128), IModulusOperators(Of Int128, Int128, Int128), IMultiplicativeIdentity(Of Int128, Int128), IMultiplyOperators(Of Int128, Int128, Int128), INumber(Of Int128), INumberBase(Of Int128), IParsable(Of Int128), IShiftOperators(Of Int128, Integer, Int128), ISignedNumber(Of Int128), ISpanParsable(Of Int128), ISubtractionOperators(Of Int128, Int128, Int128), IUnaryNegationOperators(Of Int128, Int128), IUnaryPlusOperators(Of Int128, Int128)
Public Structure Int128
Implements IAdditionOperators(Of Int128, Int128, Int128), IAdditiveIdentity(Of Int128, Int128), IBinaryInteger(Of Int128), IBinaryNumber(Of Int128), IBitwiseOperators(Of Int128, Int128, Int128), IComparable(Of Int128), IComparisonOperators(Of Int128, Int128, Boolean), IDecrementOperators(Of Int128), IDivisionOperators(Of Int128, Int128, Int128), IEqualityOperators(Of Int128, Int128, Boolean), IEquatable(Of Int128), IIncrementOperators(Of Int128), IMinMaxValue(Of Int128), IModulusOperators(Of Int128, Int128, Int128), IMultiplicativeIdentity(Of Int128, Int128), IMultiplyOperators(Of Int128, Int128, Int128), INumber(Of Int128), INumberBase(Of Int128), IParsable(Of Int128), IShiftOperators(Of Int128, Integer, Int128), ISignedNumber(Of Int128), ISpanParsable(Of Int128), ISubtractionOperators(Of Int128, Int128, Int128), IUnaryNegationOperators(Of Int128, Int128), IUnaryPlusOperators(Of Int128, Int128), IUtf8SpanParsable(Of Int128)
继承
Int128
实现
IComparable IComparable<Int128> IComparable<TSelf> IEquatable<Int128> IEquatable<TSelf> IFormattable IParsable<Int128> IParsable<TSelf> ISpanFormattable ISpanParsable<Int128> ISpanParsable<TSelf> IAdditionOperators<Int128,Int128,Int128> IAdditionOperators<TSelf,TSelf,TSelf> IAdditiveIdentity<Int128,Int128> IAdditiveIdentity<TSelf,TSelf> IBinaryInteger<Int128> IBinaryNumber<Int128> IBinaryNumber<TSelf> IBitwiseOperators<Int128,Int128,Int128> IBitwiseOperators<TSelf,TSelf,TSelf> IComparisonOperators<Int128,Int128,Boolean> IComparisonOperators<TSelf,TSelf,Boolean> IDecrementOperators<Int128> IDecrementOperators<TSelf> IDivisionOperators<Int128,Int128,Int128> IDivisionOperators<TSelf,TSelf,TSelf> IEqualityOperators<Int128,Int128,Boolean> IEqualityOperators<TSelf,TOther,TResult> IEqualityOperators<TSelf,TSelf,Boolean> IIncrementOperators<Int128> IIncrementOperators<TSelf> IMinMaxValue<Int128> IModulusOperators<Int128,Int128,Int128> IModulusOperators<TSelf,TSelf,TSelf> IMultiplicativeIdentity<Int128,Int128> IMultiplicativeIdentity<TSelf,TSelf> IMultiplyOperators<Int128,Int128,Int128> IMultiplyOperators<TSelf,TSelf,TSelf> INumber<Int128> INumber<TSelf> INumberBase<Int128> INumberBase<TSelf> IShiftOperators<Int128,Int32,Int128> IShiftOperators<TSelf,Int32,TSelf> ISignedNumber<Int128> ISubtractionOperators<Int128,Int128,Int128> ISubtractionOperators<TSelf,TSelf,TSelf> IUnaryNegationOperators<Int128,Int128> IUnaryNegationOperators<TSelf,TSelf> IUnaryPlusOperators<Int128,Int128> IUnaryPlusOperators<TSelf,TSelf> IUtf8SpanFormattable IUtf8SpanParsable<Int128> IUtf8SpanParsable<TSelf>

构造函数

Int128(UInt64, UInt64)

初始化 Int128 结构的新实例。

属性

MaxValue

获取当前类型的最大值。

MinValue

获取当前类型的最小值。

NegativeOne

获取类型的值 -1

One

获取类型的值 1

Zero

获取类型的值 0

方法

Abs(Int128)

计算值的绝对值。

Clamp(Int128, Int128, Int128)

将值固定为非独占最小值和最大值。

CompareTo(Int128)

将当前实例与同一类型的另一个对象进行比较,并返回一个整数,该整数指示当前实例在排序顺序中的位置是位于另一个对象之前、之后还是与其位置相同。

CompareTo(Object)

将当前实例与同一类型的另一个对象进行比较,并返回一个整数,该整数指示当前实例在排序顺序中的位置是位于另一个对象之前、之后还是与其位置相同。

CopySign(Int128, Int128)

将值的符号复制到另一个值的符号。

CreateChecked<TOther>(TOther)

从值创建当前类型的实例,为超出当前类型可表示范围的任何值引发溢出异常。

CreateSaturating<TOther>(TOther)

从值创建当前类型的实例,使超出当前类型的可表示范围的任何值饱和。

CreateTruncating<TOther>(TOther)

从值创建当前类型的实例,截断当前类型可表示范围之外的任何值。

DivRem(Int128, Int128)

计算两个值的商和余数。

Equals(Int128)

指示当前对象是否等于同一类型的另一个对象。

Equals(Object)

确定指定对象是否等于当前对象。

GetHashCode()

作为默认哈希函数。

IsEvenInteger(Int128)

确定值是否表示偶数整数。

IsNegative(Int128)

确定值是否为负值。

IsOddInteger(Int128)

确定值是否表示奇数整数。

IsPositive(Int128)

确定值是否为正值。

IsPow2(Int128)

确定值是否为 2 的幂。

LeadingZeroCount(Int128)

计算值中前导零的数目。

Log2(Int128)

计算值的 log2。

Max(Int128, Int128)

将两个值与更大的计算进行比较。

MaxMagnitude(Int128, Int128)

将两个值与更大的计算进行比较。

Min(Int128, Int128)

将两个值与较小的计算进行比较。

MinMagnitude(Int128, Int128)

将两个值与较小的计算进行比较。

Parse(ReadOnlySpan<Byte>, IFormatProvider)

将 UTF-8 字符范围分析为值。

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

将 UTF-8 字符范围分析为值。

Parse(ReadOnlySpan<Char>, IFormatProvider)

将字符范围解析为值。

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

将字符范围解析为值。

Parse(String)

将字符串分析为值。

Parse(String, IFormatProvider)

将字符串分析为值。

Parse(String, NumberStyles)

将字符串分析为值。

Parse(String, NumberStyles, IFormatProvider)

将字符串分析为值。

PopCount(Int128)

计算值中设置的位数。

RotateLeft(Int128, Int32)

按给定量旋转剩余的值。

RotateRight(Int128, Int32)

按给定量向右旋转值。

Sign(Int128)

计算值的符号。

ToString()

返回表示当前对象的字符串。

ToString(IFormatProvider)

使用指定的区域性特定格式信息,将此实例的数值转换为它的等效字符串表示形式。

ToString(String)

使用指定的格式,将此实例的数值转换为它的等效字符串表示形式。

ToString(String, IFormatProvider)

使用指定格式对当前实例的值设置格式。

TrailingZeroCount(Int128)

计算值中尾随零的数目。

TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)

尝试将当前实例的值格式化为 UTF-8,将其设置为提供的字节范围。

TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

尝试将当前实例的值格式化为提供的字符范围。

TryParse(ReadOnlySpan<Byte>, IFormatProvider, Int128)

尝试将 UTF-8 字符范围解析为值。

TryParse(ReadOnlySpan<Byte>, Int128)

尝试将包含数字字符串表示形式的 UTF-8 字符范围转换为等效的 128 位带符号整数。

TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, Int128)

尝试将 UTF-8 字符范围解析为值。

TryParse(ReadOnlySpan<Char>, IFormatProvider, Int128)

尝试将字符串解析为值。

TryParse(ReadOnlySpan<Char>, Int128)

尝试将字符范围解析为值。

TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, Int128)

尝试将字符范围解析为值。

TryParse(String, IFormatProvider, Int128)

尝试将字符串解析为值。

TryParse(String, Int128)

尝试将字符串解析为值。

TryParse(String, NumberStyles, IFormatProvider, Int128)

尝试将字符串解析为值。

运算符

Addition(Int128, Int128)

将两个值相加以计算其和。

BitwiseAnd(Int128, Int128)

计算两个值的按位和 。

BitwiseOr(Int128, Int128)

计算两个值的按位或 。

CheckedAddition(Int128, Int128)

将两个值相加以计算其和。

CheckedDecrement(Int128)

递减值。

CheckedDivision(Int128, Int128)

将两个值相除以计算其商。

CheckedExplicit(Double)

表示 128 位有符号整数。

CheckedExplicit(Int128)

表示 128 位有符号整数。

CheckedExplicit(Single)

表示 128 位有符号整数。

CheckedIncrement(Int128)

递增值。

CheckedMultiply(Int128, Int128)

将两个值相乘以计算其乘积。

CheckedSubtraction(Int128, Int128)

减去两个值以计算它们的差值。

CheckedUnaryNegation(Int128)

计算值的一元求反。

Decrement(Int128)

递减值。

Division(Int128, Int128)

将两个值相除以计算其商。

Equality(Int128, Int128)

比较两个值以确定相等性。

ExclusiveOr(Int128, Int128)

计算两个值的独占或两个值。

Explicit(Decimal to Int128)

将值显式转换为 Decimal 128 位有符号整数。

Explicit(Double to Int128)

将值显式转换为 Double 128 位有符号整数。

Explicit(Int128 to Byte)

将 128 位有符号整数显式转换为 Byte 值。

Explicit(Int128 to Char)

将 128 位有符号整数显式转换为 Char 值。

Explicit(Int128 to Decimal)

将 128 位有符号整数显式转换为 Decimal 值。

Explicit(Int128 to Double)

将 128 位有符号整数显式转换为 Double 值。

Explicit(Int128 to Half)

将 128 位有符号整数显式转换为 Half 值。

Explicit(Int128 to Int16)

将 128 位有符号整数显式转换为 Int16 值。

Explicit(Int128 to Int32)

将 128 位有符号整数显式转换为 Int32 值。

Explicit(Int128 to Int64)

将 128 位有符号整数显式转换为 Int64 值。

Explicit(Int128 to IntPtr)

将 128 位有符号整数显式转换为 IntPtr 值。

Explicit(Int128 to SByte)

将 128 位有符号整数显式转换为 SByte 值。

Explicit(Int128 to Single)

将 128 位有符号整数显式转换为 Single 值。

Explicit(Int128 to UInt128)

将 128 位有符号整数显式转换为 UInt128 值。

Explicit(Int128 to UInt16)

将 128 位有符号整数显式转换为 UInt16 值。

Explicit(Int128 to UInt32)

将 128 位有符号整数显式转换为 UInt32 值。

Explicit(Int128 to UInt64)

将 128 位有符号整数显式转换为 UInt64 值。

Explicit(Int128 to UIntPtr)

将 128 位有符号整数显式转换为 UIntPtr 值。

Explicit(Single to Int128)

将值显式转换为 Single 128 位有符号整数。

GreaterThan(Int128, Int128)

比较两个值以确定哪个值更大。

GreaterThanOrEqual(Int128, Int128)

比较两个值以确定哪个值更大或相等。

Implicit(Byte to Int128)

将值隐式转换为 Byte 128 位有符号整数。

Implicit(Char to Int128)

将值隐式转换为 Char 128 位有符号整数。

Implicit(Int16 to Int128)

将值隐式转换为 Int16 128 位有符号整数。

Implicit(Int32 to Int128)

将值隐式转换为 Int32 128 位有符号整数。

Implicit(Int64 to Int128)

将值隐式转换为 Int64 128 位有符号整数。

Implicit(IntPtr to Int128)

将值隐式转换为 IntPtr 128 位有符号整数。

Implicit(SByte to Int128)

将值隐式转换为 SByte 128 位有符号整数。

Implicit(UInt16 to Int128)

将值隐式转换为 UInt16 128 位有符号整数。

Implicit(UInt32 to Int128)

将值隐式转换为 UInt32 128 位有符号整数。

Implicit(UInt64 to Int128)

将值隐式转换为 UInt64 128 位有符号整数。

Implicit(UIntPtr to Int128)

将值隐式转换为 UIntPtr 128 位有符号整数。

Increment(Int128)

递增值。

Inequality(Int128, Int128)

比较两个值以确定不相等性。

LeftShift(Int128, Int32)

将一个值左移一个给定的量。

LessThan(Int128, Int128)

比较两个值以确定哪个值较小。

LessThanOrEqual(Int128, Int128)

比较两个值以确定哪个值小于或等于。

Modulus(Int128, Int128)

将两个值相除以计算其模数或余数。

Multiply(Int128, Int128)

将两个值相乘以计算其乘积。

OnesComplement(Int128)

计算给定值的补补表示形式。

RightShift(Int128, Int32)

将值向右移动给定的量。

Subtraction(Int128, Int128)

减去两个值以计算它们的差值。

UnaryNegation(Int128)

计算值的一元求反。

UnaryPlus(Int128)

计算值的一元加号。

UnsignedRightShift(Int128, Int32)

将值向右移动给定的量。

显式接口实现

IAdditiveIdentity<Int128,Int128>.AdditiveIdentity

获取当前类型的累加标识。

IBinaryInteger<Int128>.GetByteCount()

获取将作为 的一部分写入的 TryWriteLittleEndian(Span<Byte>, Int32)字节数。

IBinaryInteger<Int128>.GetShortestBitLength()

获取当前值的最短两个补补表示形式的长度(以位为单位)。

IBinaryInteger<Int128>.TryReadBigEndian(ReadOnlySpan<Byte>, Boolean, Int128)

表示 128 位有符号整数。

IBinaryInteger<Int128>.TryReadLittleEndian(ReadOnlySpan<Byte>, Boolean, Int128)

表示 128 位有符号整数。

IBinaryInteger<Int128>.TryWriteBigEndian(Span<Byte>, Int32)

尝试以 big-endian 格式将当前值写入给定范围。

IBinaryInteger<Int128>.TryWriteLittleEndian(Span<Byte>, Int32)

尝试以 little-endian 格式将当前值写入给定范围。

IBinaryNumber<Int128>.AllBitsSet

获取二进制类型的实例,其中设置了所有位。

IMultiplicativeIdentity<Int128,Int128>.MultiplicativeIdentity

获取当前类型的乘法标识。

INumber<Int128>.MaxNumber(Int128, Int128)

比较两个值以计算较大值,如果输入为 , NaN则返回另一个值。

INumber<Int128>.MinNumber(Int128, Int128)

将两个值进行比较以计算较小的值,如果输入为 NaN,则返回另一个值。

INumberBase<Int128>.IsCanonical(Int128)

确定值是否在其规范表示形式中。

INumberBase<Int128>.IsComplexNumber(Int128)

确定值是否表示复数。

INumberBase<Int128>.IsFinite(Int128)

确定值是否为有限值。

INumberBase<Int128>.IsImaginaryNumber(Int128)

确定值是否表示纯虚数。

INumberBase<Int128>.IsInfinity(Int128)

确定值是否无限。

INumberBase<Int128>.IsInteger(Int128)

确定值是否表示整型数。

INumberBase<Int128>.IsNaN(Int128)

确定值是否为 NaN。

INumberBase<Int128>.IsNegativeInfinity(Int128)

确定值是否为负无穷大。

INumberBase<Int128>.IsNormal(Int128)

确定值是否正常。

INumberBase<Int128>.IsPositiveInfinity(Int128)

确定值是否为正无穷大。

INumberBase<Int128>.IsRealNumber(Int128)

确定值是否表示实数。

INumberBase<Int128>.IsSubnormal(Int128)

确定值是否为非正常值。

INumberBase<Int128>.IsZero(Int128)

确定值是否为零。

INumberBase<Int128>.MaxMagnitudeNumber(Int128, Int128)

将两个值进行比较,以计算其具有更大的数量级并返回另一个值(如果输入为 NaN)。

INumberBase<Int128>.MinMagnitudeNumber(Int128, Int128)

将两个值进行比较,以计算其数量级较小并返回另一个值(如果输入为 NaN)。

INumberBase<Int128>.Radix

获取类型的基数。

INumberBase<Int128>.TryConvertFromChecked<TOther>(TOther, Int128)

表示 128 位有符号整数。

INumberBase<Int128>.TryConvertFromSaturating<TOther>(TOther, Int128)

表示 128 位有符号整数。

INumberBase<Int128>.TryConvertFromTruncating<TOther>(TOther, Int128)

表示 128 位有符号整数。

INumberBase<Int128>.TryConvertToChecked<TOther>(Int128, TOther)

尝试将当前类型的实例转换为另一种类型,从而引发超出当前类型可表示范围的任何值的溢出异常。

INumberBase<Int128>.TryConvertToSaturating<TOther>(Int128, TOther)

尝试将当前类型的实例转换为另一种类型,使超出当前类型可表示范围的任何值饱和。

INumberBase<Int128>.TryConvertToTruncating<TOther>(Int128, TOther)

尝试将当前类型的实例转换为另一种类型,截断当前类型可表示范围之外的任何值。

适用于