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

◆ IsPow2() [3/6]

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

Definition at line 70 of file BitOperations.cs.

71 {
72 if ((value & (value - 1)) == 0)
73 {
74 return value > 0;
75 }
76 return false;
77 }

References System.value.