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

◆ GetPartsForBitManipulation()

static bool System.Numerics.BigInteger.GetPartsForBitManipulation ( ref BigInteger x,
ref Span< uint > xd )
inlinestaticprivate

Definition at line 2147 of file BigInteger.cs.

2148 {
2149 if (x._bits == null)
2150 {
2151 xd[0] = (uint)((x._sign < 0) ? (-x._sign) : x._sign);
2152 }
2153 else
2154 {
2155 xd = x._bits;
2156 }
2157 return x._sign < 0;
2158 }

Referenced by System.Numerics.BigInteger.operator<<(), and System.Numerics.BigInteger.operator>>().