IBinaryNumber<TSelf>.Log2(TSelf) Method

Definition

Computes the log2 of a value.

C#
public static abstract TSelf Log2(TSelf value);

Parameters

value
TSelf

The value whose log2 is to be computed.

Returns

TSelf

The log2 of value.

Applies to

Product Versions
.NET 7, 8, 9