|
Terraria v1.4.4.9
Terraria source code documentation
|
Static Public Member Functions | |
| static bool | IsPow2 (int value) |
| static bool | IsPow2 (uint value) |
| static bool | IsPow2 (long value) |
| static bool | IsPow2 (ulong value) |
| static uint | RoundUpToPowerOf2 (uint value) |
| static ulong | RoundUpToPowerOf2 (ulong value) |
| static int | LeadingZeroCount (uint value) |
| static int | LeadingZeroCount (ulong value) |
| static int | Log2 (uint value) |
| static int | Log2 (ulong value) |
| static int | PopCount (uint value) |
| static int | PopCount (ulong value) |
| static int | TrailingZeroCount (int value) |
| static int | TrailingZeroCount (uint value) |
| static int | TrailingZeroCount (long value) |
| static int | TrailingZeroCount (ulong value) |
| static uint | RotateLeft (uint value, int offset) |
| static ulong | RotateLeft (ulong value, int offset) |
| static uint | RotateRight (uint value, int offset) |
| static ulong | RotateRight (ulong value, int offset) |
Static Package Functions | |
| static bool | IsPow2 (nint value) |
| static bool | IsPow2 (nuint value) |
| static int | Log2Ceiling (uint value) |
| static int | Log2Ceiling (ulong value) |
Properties | |
| static ReadOnlySpan< byte > | TrailingZeroCountDeBruijn [get] |
| static ReadOnlySpan< byte > | Log2DeBruijn [get] |
Static Private Member Functions | |
| static int | Log2SoftwareFallback (uint value) |
Definition at line 9 of file BitOperations.cs.