Method PrevSetBit
PrevSetBit(Int32)
Returns the index of the first set bit starting downwards at
the index
specified.
-1 is returned if there are no more set bits.
Declaration
public virtual int PrevSetBit(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Int32 |
|
PrevSetBit(Int64)
Returns the index of the first set bit starting downwards at
the index
specified.
-1 is returned if there are no more set bits.
Declaration
public virtual long PrevSetBit(long index)
Parameters
Type |
Name |
Description |
System.Int64 |
index |
|
Returns
Type |
Description |
System.Int64 |
|