BitOperations.Log2 메서드

정의

오버로드

Name Description
Log2(UIntPtr)

지정된 값의 정수(floor) 로그(base 2)를 반환합니다.

Log2(UInt32)

지정된 값의 정수(floor) 로그(base 2)를 반환합니다.

Log2(UInt64)

지정된 값의 정수(floor) 로그(base 2)를 반환합니다.

Log2(UIntPtr)

Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs

Important

이 API는 CLS 규격이 아닙니다.

지정된 값의 정수(floor) 로그(base 2)를 반환합니다.

public:
 static int Log2(UIntPtr value);
[System.CLSCompliant(false)]
public static int Log2(UIntPtr value);
[<System.CLSCompliant(false)>]
static member Log2 : unativeint -> int
Public Shared Function Log2 (value As UIntPtr) As Integer

매개 변수

value
UIntPtr

unativeint

값입니다.

반품

로그 값입니다.

특성

설명

규칙에 따라 log(0)가 정의되지 않으므로 입력 값 0은 0을 반환합니다.

적용 대상

Log2(UInt32)

Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs

Important

이 API는 CLS 규격이 아닙니다.

지정된 값의 정수(floor) 로그(base 2)를 반환합니다.

public:
 static int Log2(System::UInt32 value);
[System.CLSCompliant(false)]
public static int Log2(uint value);
[<System.CLSCompliant(false)>]
static member Log2 : uint32 -> int
Public Shared Function Log2 (value As UInteger) As Integer

매개 변수

value
UInt32

로그를 가져올 수 있는 숫자입니다.

반품

지정된 값의 로그(base 2)입니다.

특성

설명

규칙에 따라 입력 값 0은 Log(0)가 정의되지 않으므로 0을 반환합니다.

적용 대상

Log2(UInt64)

Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs

Important

이 API는 CLS 규격이 아닙니다.

지정된 값의 정수(floor) 로그(base 2)를 반환합니다.

public:
 static int Log2(System::UInt64 value);
[System.CLSCompliant(false)]
public static int Log2(ulong value);
[<System.CLSCompliant(false)>]
static member Log2 : uint64 -> int
Public Shared Function Log2 (value As ULong) As Integer

매개 변수

value
UInt64

로그를 가져올 수 있는 숫자입니다.

반품

지정된 값의 로그(base 2)입니다.

특성

설명

규칙에 따라 입력 값 0은 Log(0)가 정의되지 않으므로 0을 반환합니다.

적용 대상