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

◆ Log2() [1/2]

static nint IBinaryNumber< IntPtr >. System.IntPtr.Log2 ( nint value)
inlinestatic

Definition at line 369 of file IntPtr.cs.

370 {
371 if (value < 0)
372 {
373 ThrowHelper.ThrowValueArgumentOutOfRange_NeedNonNegNumException();
374 }
375 _ = Environment.Is64BitProcess;
376 return BitOperations.Log2((ulong)value);
377 }
static int Log2(uint value)

References System.Runtime.Serialization.Dictionary, System.Environment.Is64BitProcess, System.Numerics.BitOperations.Log2(), System.ThrowHelper.ThrowValueArgumentOutOfRange_NeedNonNegNumException(), and System.value.