Partager via


Long.LowestOneBit(Int64) Method

Definition

Returns a long value with at most a single one-bit, in the position of the lowest-order ("rightmost") one-bit in the specified long value.

[Android.Runtime.Register("lowestOneBit", "(J)J", "")]
public static long LowestOneBit (long i);
[<Android.Runtime.Register("lowestOneBit", "(J)J", "")>]
static member LowestOneBit : int64 -> int64

Parameters

i
Int64

the value whose lowest one bit is to be computed

Returns

a long value with a single one-bit, in the position of the lowest-order one-bit in the specified value, or zero if the specified value is itself equal to zero.

Attributes

Remarks

Java documentation for java.lang.Long.lowestOneBit(long).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to