terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
System.Numerics.BigInteger Struct Reference
+ Inheritance diagram for System.Numerics.BigInteger:
+ Collaboration diagram for System.Numerics.BigInteger:

Public Member Functions

 BigInteger (int value)
 
 BigInteger (long value)
 
 BigInteger (byte[] value)
 
 BigInteger (ReadOnlySpan< byte > value, bool isUnsigned=false, bool isBigEndian=false)
 
override int GetHashCode ()
 
override bool Equals (object obj)
 
bool Equals (BigInteger other)
 
int CompareTo (BigInteger other)
 
int CompareTo (object obj)
 
bool TryWriteBytes (Span< byte > destination, out int bytesWritten, bool isUnsigned=false, bool isBigEndian=false)
 
override string ToString ()
 
string ToString (string format, IFormatProvider provider)
 
string ToString (string format, global::System.IFormatProvider formatProvider)
 
int CompareTo (T other)
 
int CompareTo (T other)
 
bool Equals (T other)
 

Static Public Member Functions

static implicit operator BigInteger (byte value)
 
static implicit operator BigInteger (int value)
 
static implicit operator BigInteger (long value)
 
static operator int (BigInteger value)
 
static BigInteger operator<< (BigInteger value, int shift)
 
static BigInteger operator>> (BigInteger value, int shift)
 
static BigInteger operator+ (BigInteger left, BigInteger right)
 
static BigInteger ()
 

Package Functions

 BigInteger (int n, uint[] rgu)
 
 BigInteger (uint[] value, bool negative)
 
bool TryWriteOrCountBytes (Span< byte > destination, out int bytesWritten, bool isUnsigned=false, bool isBigEndian=false)
 

Static Package Functions

static int GetDiffLength (uint[] rgu1, uint[] rgu2, int cu)
 

Package Attributes

readonly int _sign
 
readonly uint[] _bits
 

Properties

static BigInteger MinusOne [get, set]
 

Private Types

enum  GetBytesMode { AllocateArray , Count , Span }
 

Private Member Functions

byte[] TryGetBytes (BigInteger.GetBytesMode mode, Span< byte > destination, bool isUnsigned, bool isBigEndian, ref int bytesWritten)
 

Static Private Member Functions

static BigInteger Add (uint[] leftBits, int leftSign, uint[] rightBits, int rightSign)
 
static BigInteger Subtract (uint[] leftBits, int leftSign, uint[] rightBits, int rightSign)
 
static bool GetPartsForBitManipulation (ref BigInteger x, out uint[] xd, out int xl)
 

Static Private Attributes

static readonly BigInteger s_bnMinInt
 
static readonly BigInteger s_bnOneInt
 
static readonly BigInteger s_bnZeroInt
 
static readonly BigInteger s_bnMinusOneInt
 
static readonly byte[] s_success
 

Detailed Description

Definition at line 10 of file BigInteger.cs.


The documentation for this struct was generated from the following file: