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

◆ Div96ByConst()

static bool System.Decimal.DecCalc.Div96ByConst ( ref ulong high64,
ref uint low,
uint pow )
inlinestaticprivate

Definition at line 356 of file Decimal.cs.

357 {
358 ulong num = high64 / pow;
359 uint num2 = (uint)(((high64 - num * pow << 32) + low) / pow);
360 if (low == num2 * pow)
361 {
362 high64 = num;
363 low = num2;
364 return true;
365 }
366 return false;
367 }

References System.Runtime.Serialization.Dictionary.

Referenced by System.Decimal.DecCalc.Unscale().