Definition at line 1767 of file Decimal.cs.
1768 {
1769 if ((
d2.ulo |
d2.umid |
d2.uhi) == 0)
1770 {
1771 throw new DivideByZeroException();
1772 }
1773 if ((
d1.ulo |
d1.umid |
d1.uhi) == 0)
1774 {
1775 return;
1776 }
1779 if (num == 0)
1780 {
1784 if (
d2.uflags >
d1.uflags)
1785 {
1787 }
1788 }
1789 else
1790 {
1792 {
1793 return;
1794 }
1795 int num2 = (sbyte)(
d1.uflags -
d2.uflags >> 16);
1797 {
1798 do
1799 {
1807 }
1808 while ((
num2 -= 9) > 0);
1810 }
1811 do
1812 {
1814 {
1820 do
1821 {
1824 {
1825 break;
1826 }
1833 }
1834 while (
num6 == 1000000000 &&
num2 < 0);
1837 }
1839 {
1841 break;
1842 }
1843 if ((
d2.High |
d2.Mid) == 0)
1844 {
1846 ulong
num8 = ((ulong)
d1.High << 32) |
d1.Mid;
1850 continue;
1851 }
1853 break;
1854 }
1856 }
1857 }
static readonly uint[] s_powers10
static int SearchScale(ref Buf12 bufQuo, int scale)
static unsafe void VarDecModFull(ref DecCalc d1, ref DecCalc d2, int scale)
static ulong UInt32x32To64(uint a, uint b)
static int VarDecCmpSub(in decimal d1, in decimal d2)
References System.Runtime.Serialization.Dictionary, System.Decimal.DecCalc.Buf12.Low64, System.Decimal.DecCalc.s_powers10, System.Decimal.DecCalc.SearchScale(), System.Decimal.DecCalc.UInt32x32To64(), System.value, System.Decimal.DecCalc.VarDecCmpSub(), and System.Decimal.DecCalc.VarDecModFull().
Referenced by System.Decimal.operator%(), and System.Decimal.Remainder().