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

◆ BigInteger() [4/12]

System.Numerics.BigInteger.BigInteger ( ulong value)
inline

Definition at line 163 of file BigInteger.cs.

164 {
165 if (value <= int.MaxValue)
166 {
167 _sign = (int)value;
168 _bits = null;
169 }
170 else if (value <= uint.MaxValue)
171 {
172 _sign = 1;
173 _bits = new uint[1];
174 _bits[0] = (uint)value;
175 }
176 else
177 {
178 _sign = 1;
179 _bits = new uint[2];
180 _bits[0] = (uint)value;
181 _bits[1] = (uint)(value >> 32);
182 }
183 }
readonly uint[] _bits
Definition BigInteger.cs:20

References System.Numerics.BigInteger._bits, System.Numerics.BigInteger._sign, and System.value.