UInt16.IBinaryInteger<UInt16>.GetShortestBitLength Method

Definition

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

C#
int IBinaryInteger<ushort>.GetShortestBitLength();

Returns

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

Implements

Applies to

Product Versions
.NET 7, 8, 9