UInt128 구조체
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
중요
이 API는 CLS 규격이 아닙니다.
부호 없는 128비트 정수입니다.
public value class UInt128 : IComparable<UInt128>, IEquatable<UInt128>, IParsable<UInt128>, ISpanParsable<UInt128>, System::Numerics::IAdditionOperators<UInt128, UInt128, UInt128>, System::Numerics::IAdditiveIdentity<UInt128, UInt128>, System::Numerics::IBinaryInteger<UInt128>, System::Numerics::IBinaryNumber<UInt128>, System::Numerics::IBitwiseOperators<UInt128, UInt128, UInt128>, System::Numerics::IComparisonOperators<UInt128, UInt128, bool>, System::Numerics::IDecrementOperators<UInt128>, System::Numerics::IDivisionOperators<UInt128, UInt128, UInt128>, System::Numerics::IEqualityOperators<UInt128, UInt128, bool>, System::Numerics::IIncrementOperators<UInt128>, System::Numerics::IMinMaxValue<UInt128>, System::Numerics::IModulusOperators<UInt128, UInt128, UInt128>, System::Numerics::IMultiplicativeIdentity<UInt128, UInt128>, System::Numerics::IMultiplyOperators<UInt128, UInt128, UInt128>, System::Numerics::INumber<UInt128>, System::Numerics::INumberBase<UInt128>, System::Numerics::IShiftOperators<UInt128, int, UInt128>, System::Numerics::ISubtractionOperators<UInt128, UInt128, UInt128>, System::Numerics::IUnaryNegationOperators<UInt128, UInt128>, System::Numerics::IUnaryPlusOperators<UInt128, UInt128>, System::Numerics::IUnsignedNumber<UInt128>
public value class UInt128 : IComparable<UInt128>, IEquatable<UInt128>, IParsable<UInt128>, ISpanParsable<UInt128>, IUtf8SpanParsable<UInt128>, System::Numerics::IAdditionOperators<UInt128, UInt128, UInt128>, System::Numerics::IAdditiveIdentity<UInt128, UInt128>, System::Numerics::IBinaryInteger<UInt128>, System::Numerics::IBinaryNumber<UInt128>, System::Numerics::IBitwiseOperators<UInt128, UInt128, UInt128>, System::Numerics::IComparisonOperators<UInt128, UInt128, bool>, System::Numerics::IDecrementOperators<UInt128>, System::Numerics::IDivisionOperators<UInt128, UInt128, UInt128>, System::Numerics::IEqualityOperators<UInt128, UInt128, bool>, System::Numerics::IIncrementOperators<UInt128>, System::Numerics::IMinMaxValue<UInt128>, System::Numerics::IModulusOperators<UInt128, UInt128, UInt128>, System::Numerics::IMultiplicativeIdentity<UInt128, UInt128>, System::Numerics::IMultiplyOperators<UInt128, UInt128, UInt128>, System::Numerics::INumber<UInt128>, System::Numerics::INumberBase<UInt128>, System::Numerics::IShiftOperators<UInt128, int, UInt128>, System::Numerics::ISubtractionOperators<UInt128, UInt128, UInt128>, System::Numerics::IUnaryNegationOperators<UInt128, UInt128>, System::Numerics::IUnaryPlusOperators<UInt128, UInt128>, System::Numerics::IUnsignedNumber<UInt128>
[System.CLSCompliant(false)]
public readonly struct UInt128 : IComparable<UInt128>, IEquatable<UInt128>, IParsable<UInt128>, ISpanParsable<UInt128>, System.Numerics.IAdditionOperators<UInt128,UInt128,UInt128>, System.Numerics.IAdditiveIdentity<UInt128,UInt128>, System.Numerics.IBinaryInteger<UInt128>, System.Numerics.IBinaryNumber<UInt128>, System.Numerics.IBitwiseOperators<UInt128,UInt128,UInt128>, System.Numerics.IComparisonOperators<UInt128,UInt128,bool>, System.Numerics.IDecrementOperators<UInt128>, System.Numerics.IDivisionOperators<UInt128,UInt128,UInt128>, System.Numerics.IEqualityOperators<UInt128,UInt128,bool>, System.Numerics.IIncrementOperators<UInt128>, System.Numerics.IMinMaxValue<UInt128>, System.Numerics.IModulusOperators<UInt128,UInt128,UInt128>, System.Numerics.IMultiplicativeIdentity<UInt128,UInt128>, System.Numerics.IMultiplyOperators<UInt128,UInt128,UInt128>, System.Numerics.INumber<UInt128>, System.Numerics.INumberBase<UInt128>, System.Numerics.IShiftOperators<UInt128,int,UInt128>, System.Numerics.ISubtractionOperators<UInt128,UInt128,UInt128>, System.Numerics.IUnaryNegationOperators<UInt128,UInt128>, System.Numerics.IUnaryPlusOperators<UInt128,UInt128>, System.Numerics.IUnsignedNumber<UInt128>
[System.CLSCompliant(false)]
public readonly struct UInt128 : IComparable<UInt128>, IEquatable<UInt128>, IParsable<UInt128>, ISpanParsable<UInt128>, IUtf8SpanParsable<UInt128>, System.Numerics.IAdditionOperators<UInt128,UInt128,UInt128>, System.Numerics.IAdditiveIdentity<UInt128,UInt128>, System.Numerics.IBinaryInteger<UInt128>, System.Numerics.IBinaryNumber<UInt128>, System.Numerics.IBitwiseOperators<UInt128,UInt128,UInt128>, System.Numerics.IComparisonOperators<UInt128,UInt128,bool>, System.Numerics.IDecrementOperators<UInt128>, System.Numerics.IDivisionOperators<UInt128,UInt128,UInt128>, System.Numerics.IEqualityOperators<UInt128,UInt128,bool>, System.Numerics.IIncrementOperators<UInt128>, System.Numerics.IMinMaxValue<UInt128>, System.Numerics.IModulusOperators<UInt128,UInt128,UInt128>, System.Numerics.IMultiplicativeIdentity<UInt128,UInt128>, System.Numerics.IMultiplyOperators<UInt128,UInt128,UInt128>, System.Numerics.INumber<UInt128>, System.Numerics.INumberBase<UInt128>, System.Numerics.IShiftOperators<UInt128,int,UInt128>, System.Numerics.ISubtractionOperators<UInt128,UInt128,UInt128>, System.Numerics.IUnaryNegationOperators<UInt128,UInt128>, System.Numerics.IUnaryPlusOperators<UInt128,UInt128>, System.Numerics.IUnsignedNumber<UInt128>
[<System.CLSCompliant(false)>]
type UInt128 = struct
interface IFormattable
interface IParsable<UInt128>
interface ISpanFormattable
interface ISpanParsable<UInt128>
interface IAdditionOperators<UInt128, UInt128, UInt128>
interface IAdditiveIdentity<UInt128, UInt128>
interface IBinaryInteger<UInt128>
interface IBinaryNumber<UInt128>
interface IBitwiseOperators<UInt128, UInt128, UInt128>
interface IComparisonOperators<UInt128, UInt128, bool>
interface IEqualityOperators<UInt128, UInt128, bool>
interface IDecrementOperators<UInt128>
interface IDivisionOperators<UInt128, UInt128, UInt128>
interface IIncrementOperators<UInt128>
interface IModulusOperators<UInt128, UInt128, UInt128>
interface IMultiplicativeIdentity<UInt128, UInt128>
interface IMultiplyOperators<UInt128, UInt128, UInt128>
interface INumber<UInt128>
interface INumberBase<UInt128>
interface ISubtractionOperators<UInt128, UInt128, UInt128>
interface IUnaryNegationOperators<UInt128, UInt128>
interface IUnaryPlusOperators<UInt128, UInt128>
interface IShiftOperators<UInt128, int, UInt128>
interface IMinMaxValue<UInt128>
interface IUnsignedNumber<UInt128>
[<System.CLSCompliant(false)>]
type UInt128 = struct
interface IFormattable
interface IParsable<UInt128>
interface ISpanFormattable
interface ISpanParsable<UInt128>
interface IAdditionOperators<UInt128, UInt128, UInt128>
interface IAdditiveIdentity<UInt128, UInt128>
interface IBinaryInteger<UInt128>
interface IBinaryNumber<UInt128>
interface IBitwiseOperators<UInt128, UInt128, UInt128>
interface IComparisonOperators<UInt128, UInt128, bool>
interface IEqualityOperators<UInt128, UInt128, bool>
interface IDecrementOperators<UInt128>
interface IDivisionOperators<UInt128, UInt128, UInt128>
interface IIncrementOperators<UInt128>
interface IModulusOperators<UInt128, UInt128, UInt128>
interface IMultiplicativeIdentity<UInt128, UInt128>
interface IMultiplyOperators<UInt128, UInt128, UInt128>
interface INumber<UInt128>
interface INumberBase<UInt128>
interface ISubtractionOperators<UInt128, UInt128, UInt128>
interface IUnaryNegationOperators<UInt128, UInt128>
interface IUnaryPlusOperators<UInt128, UInt128>
interface IUtf8SpanFormattable
interface IUtf8SpanParsable<UInt128>
interface IShiftOperators<UInt128, int, UInt128>
interface IMinMaxValue<UInt128>
interface IUnsignedNumber<UInt128>
[<System.CLSCompliant(false)>]
type UInt128 = struct
interface IFormattable
interface IParsable<UInt128>
interface ISpanFormattable
interface ISpanParsable<UInt128>
interface IUtf8SpanFormattable
interface IUtf8SpanParsable<UInt128>
interface IAdditionOperators<UInt128, UInt128, UInt128>
interface IAdditiveIdentity<UInt128, UInt128>
interface IBinaryInteger<UInt128>
interface IBinaryNumber<UInt128>
interface IBitwiseOperators<UInt128, UInt128, UInt128>
interface IComparisonOperators<UInt128, UInt128, bool>
interface IEqualityOperators<UInt128, UInt128, bool>
interface IDecrementOperators<UInt128>
interface IDivisionOperators<UInt128, UInt128, UInt128>
interface IIncrementOperators<UInt128>
interface IModulusOperators<UInt128, UInt128, UInt128>
interface IMultiplicativeIdentity<UInt128, UInt128>
interface IMultiplyOperators<UInt128, UInt128, UInt128>
interface INumber<UInt128>
interface INumberBase<UInt128>
interface ISubtractionOperators<UInt128, UInt128, UInt128>
interface IUnaryNegationOperators<UInt128, UInt128>
interface IUnaryPlusOperators<UInt128, UInt128>
interface IShiftOperators<UInt128, int, UInt128>
interface IMinMaxValue<UInt128>
interface IUnsignedNumber<UInt128>
Public Structure UInt128
Implements IAdditionOperators(Of UInt128, UInt128, UInt128), IAdditiveIdentity(Of UInt128, UInt128), IBinaryInteger(Of UInt128), IBinaryNumber(Of UInt128), IBitwiseOperators(Of UInt128, UInt128, UInt128), IComparable(Of UInt128), IComparisonOperators(Of UInt128, UInt128, Boolean), IDecrementOperators(Of UInt128), IDivisionOperators(Of UInt128, UInt128, UInt128), IEqualityOperators(Of UInt128, UInt128, Boolean), IEquatable(Of UInt128), IIncrementOperators(Of UInt128), IMinMaxValue(Of UInt128), IModulusOperators(Of UInt128, UInt128, UInt128), IMultiplicativeIdentity(Of UInt128, UInt128), IMultiplyOperators(Of UInt128, UInt128, UInt128), INumber(Of UInt128), INumberBase(Of UInt128), IParsable(Of UInt128), IShiftOperators(Of UInt128, Integer, UInt128), ISpanParsable(Of UInt128), ISubtractionOperators(Of UInt128, UInt128, UInt128), IUnaryNegationOperators(Of UInt128, UInt128), IUnaryPlusOperators(Of UInt128, UInt128), IUnsignedNumber(Of UInt128)
Public Structure UInt128
Implements IAdditionOperators(Of UInt128, UInt128, UInt128), IAdditiveIdentity(Of UInt128, UInt128), IBinaryInteger(Of UInt128), IBinaryNumber(Of UInt128), IBitwiseOperators(Of UInt128, UInt128, UInt128), IComparable(Of UInt128), IComparisonOperators(Of UInt128, UInt128, Boolean), IDecrementOperators(Of UInt128), IDivisionOperators(Of UInt128, UInt128, UInt128), IEqualityOperators(Of UInt128, UInt128, Boolean), IEquatable(Of UInt128), IIncrementOperators(Of UInt128), IMinMaxValue(Of UInt128), IModulusOperators(Of UInt128, UInt128, UInt128), IMultiplicativeIdentity(Of UInt128, UInt128), IMultiplyOperators(Of UInt128, UInt128, UInt128), INumber(Of UInt128), INumberBase(Of UInt128), IParsable(Of UInt128), IShiftOperators(Of UInt128, Integer, UInt128), ISpanParsable(Of UInt128), ISubtractionOperators(Of UInt128, UInt128, UInt128), IUnaryNegationOperators(Of UInt128, UInt128), IUnaryPlusOperators(Of UInt128, UInt128), IUnsignedNumber(Of UInt128), IUtf8SpanParsable(Of UInt128)
- 상속
- 특성
- 구현
-
IComparable IComparable<UInt128> IComparable<TSelf> IEquatable<UInt128> IEquatable<TSelf> IFormattable IParsable<UInt128> IParsable<TSelf> ISpanFormattable ISpanParsable<UInt128> ISpanParsable<TSelf> IAdditionOperators<UInt128,UInt128,UInt128> IAdditionOperators<TSelf,TSelf,TSelf> IAdditiveIdentity<UInt128,UInt128> IAdditiveIdentity<TSelf,TSelf> IBinaryInteger<UInt128> IBinaryNumber<UInt128> IBinaryNumber<TSelf> IBitwiseOperators<UInt128,UInt128,UInt128> IBitwiseOperators<TSelf,TSelf,TSelf> IComparisonOperators<UInt128,UInt128,Boolean> IComparisonOperators<TSelf,TSelf,Boolean> IDecrementOperators<UInt128> IDecrementOperators<TSelf> IDivisionOperators<UInt128,UInt128,UInt128> IDivisionOperators<TSelf,TSelf,TSelf> IEqualityOperators<UInt128,UInt128,Boolean> IEqualityOperators<TSelf,TOther,TResult> IEqualityOperators<TSelf,TSelf,Boolean> IIncrementOperators<UInt128> IIncrementOperators<TSelf> IMinMaxValue<UInt128> IModulusOperators<UInt128,UInt128,UInt128> IModulusOperators<TSelf,TSelf,TSelf> IMultiplicativeIdentity<UInt128,UInt128> IMultiplicativeIdentity<TSelf,TSelf> IMultiplyOperators<UInt128,UInt128,UInt128> IMultiplyOperators<TSelf,TSelf,TSelf> INumber<UInt128> INumber<TSelf> INumberBase<UInt128> INumberBase<TSelf> IShiftOperators<UInt128,Int32,UInt128> IShiftOperators<TSelf,Int32,TSelf> ISubtractionOperators<UInt128,UInt128,UInt128> ISubtractionOperators<TSelf,TSelf,TSelf> IUnaryNegationOperators<UInt128,UInt128> IUnaryNegationOperators<TSelf,TSelf> IUnaryPlusOperators<UInt128,UInt128> IUnaryPlusOperators<TSelf,TSelf> IUnsignedNumber<UInt128> IUtf8SpanFormattable IUtf8SpanParsable<UInt128> IUtf8SpanParsable<TSelf>
생성자
UInt128(UInt64, UInt64) |
UInt128 구조체의 새 인스턴스를 초기화합니다. |
속성
MaxValue |
현재 형식의 최대값을 가져옵니다. |
MinValue |
현재 형식의 최소값을 가져옵니다. |
One |
형식의 값을 |
Zero |
형식의 값을 |
메서드
Clamp(UInt128, UInt128, UInt128) |
값을 포괄 최소값 및 최대값으로 고정합니다. |
CompareTo(Object) |
현재 인스턴스와 동일한 형식의 다른 개체를 비교하고 정렬 순서에서 현재 인스턴스의 위치가 다른 개체보다 앞인지, 뒤인지 또는 동일한지를 나타내는 정수를 반환합니다. |
CompareTo(UInt128) |
현재 인스턴스와 동일한 형식의 다른 개체를 비교하고 정렬 순서에서 현재 인스턴스의 위치가 다른 개체보다 앞인지, 뒤인지 또는 동일한지를 나타내는 정수를 반환합니다. |
CreateChecked<TOther>(TOther) |
현재 형식의 표현 가능한 범위를 벗어나는 값에 대해 오버플로 예외를 throw하여 값에서 현재 형식의 instance 만듭니다. |
CreateSaturating<TOther>(TOther) |
값에서 현재 형식의 instance 만들어 현재 형식의 표현 가능한 범위를 벗어나는 값을 채도합니다. |
CreateTruncating<TOther>(TOther) |
값에서 현재 형식의 instance 만들어 현재 형식의 표현 가능한 범위를 벗어나는 값을 잘려냅니다. |
DivRem(UInt128, UInt128) |
두 값의 몫과 나머지를 계산합니다. |
Equals(Object) |
지정된 개체가 현재 개체와 같은지 확인합니다. |
Equals(UInt128) |
현재 개체가 동일한 형식의 다른 개체와 같은지 여부를 나타냅니다. |
GetHashCode() |
기본 해시 함수로 작동합니다. |
IsEvenInteger(UInt128) |
값이 짝수 정수인지 여부를 결정합니다. |
IsOddInteger(UInt128) |
값이 홀수 정수인지 여부를 결정합니다. |
IsPow2(UInt128) |
값이 2의 힘인지 확인합니다. |
LeadingZeroCount(UInt128) |
값의 선행 0 수를 계산합니다. |
Log2(UInt128) |
값의 log2를 계산합니다. |
Max(UInt128, UInt128) |
두 값을 더 큰 컴퓨팅과 비교합니다. |
Min(UInt128, UInt128) |
두 값을 더 작은 컴퓨팅과 비교합니다. |
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(UInt128) |
값에 설정된 비트 수를 계산합니다. |
RotateLeft(UInt128, Int32) |
지정된 양만큼 남은 값을 회전합니다. |
RotateRight(UInt128, Int32) |
값을 지정된 양만큼 오른쪽으로 회전합니다. |
Sign(UInt128) |
값의 기호를 계산합니다. |
ToString() |
현재 개체를 나타내는 문자열을 반환합니다. |
ToString(IFormatProvider) |
지정된 문화권별 형식 정보를 사용하여 이 인스턴스의 숫자 값을 해당 문자열 표현으로 변환합니다. |
ToString(String) |
지정된 형식을 사용하여 이 인스턴스의 숫자 값을 해당 문자열 표현으로 변환합니다. |
ToString(String, IFormatProvider) |
지정된 형식을 사용하여 현재 인스턴스 값의 형식을 지정합니다. |
TrailingZeroCount(UInt128) |
값의 후행 0 수를 계산합니다. |
TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
현재 instance 값의 형식을 제공된 바이트 범위로 UTF-8로 지정하려고 시도합니다. |
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
현재 instance 값의 형식을 제공된 문자 범위로 지정하려고 시도합니다. |
TryParse(ReadOnlySpan<Byte>, IFormatProvider, UInt128) |
UTF-8 문자의 범위를 값으로 구문 분석하려고 시도합니다. |
TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, UInt128) |
UTF-8 문자의 범위를 값으로 구문 분석하려고 시도합니다. |
TryParse(ReadOnlySpan<Byte>, UInt128) |
숫자의 문자열 표현을 포함하는 UTF-8 문자 범위를 해당하는 128비트 부호 없는 정수로 변환하려고 시도합니다. |
TryParse(ReadOnlySpan<Char>, IFormatProvider, UInt128) |
문자열을 값으로 구문 분석하려고 시도합니다. |
TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, UInt128) |
문자 범위를 값으로 구문 분석하려고 시도합니다. |
TryParse(ReadOnlySpan<Char>, UInt128) |
문자 범위를 값으로 구문 분석하려고 시도합니다. |
TryParse(String, IFormatProvider, UInt128) |
문자열을 값으로 구문 분석하려고 시도합니다. |
TryParse(String, NumberStyles, IFormatProvider, UInt128) |
문자열을 값으로 구문 분석하려고 시도합니다. |
TryParse(String, UInt128) |
문자열을 값으로 구문 분석하려고 시도합니다. |
연산자
명시적 인터페이스 구현
적용 대상
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기