src\libraries\System.Private.CoreLib\src\System\Decimal.DecCalc.cs (21)
24private static ref DecCalc AsMutable(ref decimal d) => ref Unsafe.As<decimal, DecCalc>(ref d);
30return DecCalc.DecDivMod1E9(ref AsMutable(ref value));
182private static void UInt64x64To128(ulong a, ulong b, ref DecCalc result)
958internal static unsafe void DecAddSub(ref DecCalc d1, ref DecCalc d2, bool sign)
1276internal static long VarCyFromDec(ref DecCalc pdecIn)
1402internal static unsafe void VarDecMul(ref DecCalc d1, ref DecCalc d2)
1561internal static void VarDecFromR4(float input, out DecCalc result)
1721internal static void VarDecFromR8(double input, out DecCalc result)
1938internal static unsafe void VarDecDiv(ref DecCalc d1, ref DecCalc d2)
2207internal static void VarDecMod(ref DecCalc d1, ref DecCalc d2)
2218int cmp = VarDecCmpSub(in Unsafe.As<DecCalc, decimal>(ref d1), in Unsafe.As<DecCalc, decimal>(ref d2));
2296private static unsafe void VarDecModFull(ref DecCalc d1, ref DecCalc d2, int scale)
2388internal static void InternalRound(ref DecCalc d, uint scale, MidpointRounding mode)
2506internal static uint DecDivMod1E9(ref DecCalc value)