NBit Bit Manipulation Library

BitMathExtensions Members

BitMathExtensions overview

Public Static (Shared) Methods

CountBits Counts the number of one bits in a value.
CountTrailingZeros Counts the number of trailing zeros in a value.
IsOddParity Computes the parity of a value.
IsPowerOf2 Checks if a value is a power of two.
ReverseBitsOverloaded. Reverses the bits of a value.
RoundUpToPowerOf2 Rounds a value up to the nearest power of two.

Public Instance Methods

Equals (inherited from Object)
GetHashCode (inherited from Object)
GetType (inherited from Object)
ToString (inherited from Object)

Protected Instance Methods

Finalize (inherited from Object)
MemberwiseClone (inherited from Object)

See Also

BitMathExtensions Class | NBit Namespace