Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Determine the most significant bit of the passed integral value.

Namespace: Tangosol.Net.Cache
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
public virtual int IndexOfMSB(
	int n
)

Parameters

n
Type: System..::..Int32
An int.

Return Value

-1 if no bits are set; otherwise, the bit position p of the most significant bit such that 1 << p is the most significant bit of n

See Also