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

◆ Log2() [1/2]

static sbyte IBinaryNumber< sbyte >. System.SByte.Log2 ( sbyte value)
inlinestatic

Definition at line 329 of file SByte.cs.

330 {
331 if (value < 0)
332 {
333 ThrowHelper.ThrowValueArgumentOutOfRange_NeedNonNegNumException();
334 }
335 return (sbyte)BitOperations.Log2((byte)value);
336 }
static int Log2(uint value)

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