Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
IsPow2()
[4/6]
static
bool
System.Numerics.BitOperations.IsPow2
(
nuint
value
)
inline
static
package
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
}
System.ExceptionArgument.value
@ value
References
System.value
.
System
Numerics
BitOperations
Generated by
1.10.0