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

◆ Log2() [1/2]

static long IBinaryNumber< long >. System.Int64.Log2 ( long value)
inlinestatic

Definition at line 318 of file Int64.cs.

319 {
320 if (value < 0)
321 {
322 ThrowHelper.ThrowValueArgumentOutOfRange_NeedNonNegNumException();
323 }
324 return BitOperations.Log2((ulong)value);
325 }
static int Log2(uint value)

References System.Numerics.BitOperations.Log2(), System.ThrowHelper.ThrowValueArgumentOutOfRange_NeedNonNegNumException(), and System.value.