Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsPow2() [4/6]

static bool System.Numerics.BitOperations.IsPow2 ( nuint value)
inlinestaticpackage

Definition at line 80 of file BitOperations.cs.

81 {
82 if ((value & (value - 1)) == 0)
83 {
84 return value != 0;
85 }
86 return false;
87 }

References System.value.