Int32.Log2(Int32) Method

Definition

Computes the log2 of a value.

public:
 static int Log2(int value) = System::Numerics::IBinaryNumber<int>::Log2;
public static int Log2 (int value);
static member Log2 : int -> int
Public Shared Function Log2 (value As Integer) As Integer

Parameters

value
Int32

The value whose log2 is to be computed.

Returns

The log2 of value.

Implements

Applies to