NBit Bit Manipulation Library

BitMathExtensions Class

Provides bit manipulation extension methods for unsigned integers. Many of these algorithms can be found at Bit Twiddling Hacks: http://graphics.stanford.edu/~seander/bithacks.html

For a list of all members of this type, see BitMathExtensions Members .

System.Object
   BitMathExtensions

[Visual Basic]
<Extension> _
Public Shared Class BitMathExtensions
[C#]
[Extension]
public static class BitMathExtensions

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: NBit

Assembly: NBit (in NBit.dll)

See Also

BitMathExtensions Members | NBit Namespace