UInt16.Log2(UInt16) Method

Definition

Computes the log2 of a value.

public:
 static System::UInt16 Log2(System::UInt16 value) = System::Numerics::IBinaryNumber<System::UInt16>::Log2;
public static ushort Log2 (ushort value);
static member Log2 : uint16 -> uint16
Public Shared Function Log2 (value As UShort) As UShort

Parameters

value
UInt16

The value whose log2 is to be computed.

Returns

The log2 of value.

Implements

Applies to