src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.DecCalc.cs (22)
25private static ref DecCalc AsMutable(ref decimal d) => ref Unsafe.As<decimal, DecCalc>(ref d);
31return DecCalc.DecDivMod1E9(ref AsMutable(ref value));
166private static void UInt64x64To128(ulong a, ulong b, ref DecCalc result)
953internal static void DecAddSub(ref DecCalc d1, ref DecCalc d2, bool sign)
1286internal static long VarCyFromDec(ref DecCalc pdecIn)
1426internal static void VarDecMul(ref DecCalc d1, ref DecCalc d2)
1585internal static void VarDecFromR4(float input, out DecCalc result)
1593internal static void VarDecFromR8(double input, out DecCalc result)
1611private static void VarDecFromFloat<TNumber>(TNumber input, out DecCalc result)
1914internal static void VarDecDiv(ref DecCalc d1, ref DecCalc d2)
2180internal static void VarDecMod(ref DecCalc d1, ref DecCalc d2)
2191int cmp = VarDecCmpSub(in Unsafe.As<DecCalc, decimal>(ref d1), in Unsafe.As<DecCalc, decimal>(ref d2));
2287private static void VarDecModFull(ref DecCalc d1, ref DecCalc d2, int scale)
2391internal static void InternalRound(ref DecCalc d, uint scale, MidpointRounding mode)
2509internal static uint DecDivMod1E9(ref DecCalc value)