terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
|
Classes | |
struct | Buf12 |
struct | Buf16 |
struct | Buf24 |
struct | PowerOvfl |
Static Public Member Functions | |
static | DecCalc () |
Package Types | |
enum | RoundingMode { ToEven , AwayFromZero , Truncate , Floor , Ceiling } |
Static Package Functions | |
static void | DecAddSub (decimal.DecCalc d1, decimal.DecCalc d2, bool sign) |
static int | VarDecCmp ([In] decimal d1, [In] decimal d2) |
static void | VarDecMul (decimal.DecCalc d1, decimal.DecCalc d2) |
static void | VarDecFromR4 (float input, [Out] decimal.DecCalc result) |
static void | VarDecFromR8 (double input, [Out] decimal.DecCalc result) |
static float | VarR4FromDec ([In] decimal value) |
static double | VarR8FromDec ([In] decimal value) |
static int | GetHashCode ([In] decimal d) |
static void | VarDecDiv (decimal.DecCalc d1, decimal.DecCalc d2) |
static void | InternalRound (decimal.DecCalc d, uint scale, decimal.DecCalc.RoundingMode mode) |
static uint | DecDivMod1E9 (decimal.DecCalc value) |
Properties | |
uint | High [get, set] |
uint | Low [get, set] |
uint | Mid [get, set] |
bool | IsNegative [get] |
ulong | Low64 [get, set] |
Static Private Member Functions | |
static uint | GetExponent (float f) |
static uint | GetExponent (double d) |
static ulong | UInt32x32To64 (uint a, uint b) |
static void | UInt64x64To128 (ulong a, ulong b, decimal.DecCalc result) |
static uint | Div96By32 (decimal.DecCalc.Buf12 bufNum, uint den) |
static bool | Div96ByConst (ulong high64, uint low, uint pow) |
static void | Unscale (uint low, ulong high64, int scale) |
static uint | Div96By64 (decimal.DecCalc.Buf12 bufNum, ulong den) |
static uint | Div128By96 (decimal.DecCalc.Buf16 bufNum, decimal.DecCalc.Buf12 bufDen) |
static uint | IncreaseScale (decimal.DecCalc.Buf12 bufNum, uint power) |
static void | IncreaseScale64 (decimal.DecCalc.Buf12 bufNum, uint power) |
static unsafe int | ScaleResult (decimal.DecCalc.Buf24 *bufRes, uint hiRes, int scale) |
static unsafe uint | DivByConst (uint *result, uint hiRes, [Out] uint quotient, [Out] uint remainder, uint power) |
static int | LeadingZeroCount (uint value) |
static int | OverflowUnscale (decimal.DecCalc.Buf12 bufQuo, int scale, bool sticky) |
static int | SearchScale (decimal.DecCalc.Buf12 bufQuo, int scale) |
static bool | Add32To96 (decimal.DecCalc.Buf12 bufNum, uint value) |
static int | VarDecCmpSub ([In] decimal d1, [In] decimal d2) |
Private Attributes | |
uint | uflags |
uint | uhi |
uint | ulo |
uint | umid |
ulong | ulomidLE |
Static Private Attributes | |
static readonly uint[] | s_powers10 |
static readonly ulong[] | s_ulongPowers10 |
static readonly double[] | s_doublePowers10 |
static readonly decimal.DecCalc.PowerOvfl[] | PowerOvflValues |
Definition at line 1338 of file Decimal.cs.