Click or drag to resize

LocalCacheEntryIndexOfMSB Method

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

Namespace:  Tangosol.Net.Cache
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public virtual int IndexOfMSB(
	int n
)

Parameters

n
Type: SystemInt32
An int.

Return Value

Type: Int32
-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