Java.Lang.Long.HighestOneBit Method
Determines the highest (leftmost) bit of the specified long value that is 1 and returns the bit mask value for that bit.

Syntax

[Android.Runtime.Register("highestOneBit", "(J)J", "")]
public static long HighestOneBit (long lng)

Parameters

v
the long to examine.

Returns

Documentation for this section has not yet been entered.

Remarks

Determines the highest (leftmost) bit of the specified long value that is 1 and returns the bit mask value for that bit. This is also referred to as the Most Significant 1 Bit. Returns zero if the specified long is zero.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1