Redigera

Dela via


ILogarithmicFunctions<TSelf>.Log2(TSelf) Method

Definition

Computes the base-2 logarithm of a value.

public:
 static TSelf Log2(TSelf x);
public static abstract TSelf Log2 (TSelf x);
static member Log2 : 'Self -> 'Self
Public Shared Function Log2 (x As TSelf) As TSelf

Parameters

x
TSelf

The value whose base-2 logarithm is to be computed.

Returns

TSelf

The base-2 logarithm of x.

Applies to