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

◆ SetUInt64()

static unsafe void System.Number.BigInteger.SetUInt64 ( out BigInteger result,
ulong value )
inlinestatic

Definition at line 603 of file Number.cs.

604 {
605 if (value <= uint.MaxValue)
606 {
607 SetUInt32(out result, (uint)value);
608 return;
609 }
610 result._blocks[0] = (uint)value;
611 result._blocks[1] = (uint)(value >> 32);
612 result._length = 2;
613 }
static unsafe void SetUInt32(out BigInteger result, uint value)
Definition Number.cs:592

References System.Number.BigInteger.SetUInt32(), and System.value.

Referenced by System.Number.Dragon4(), and System.Number.BigInteger.Multiply().