terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
System.Numerics.BigInteger Struct Reference
+ Inheritance 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)
 
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]
 

Private Types

enum  GetBytesMode { AllocateArray , Count , Span }
 

Private Member Functions

byte[] TryGetBytes (BigInteger.GetBytesMode mode, Span< byte > destination, bool isUnsigned, bool isBigEndian, 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 (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: