IBinaryInteger<TSelf>.GetShortestBitLength Method

Definition

Gets the length, in bits, of the shortest two's complement representation of the current value.

C#
public int GetShortestBitLength ();

Returns

The length, in bits, of the shortest two's complement representation of the current value.

Applies to

Product Versions
.NET 7, 8, 9