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