21 references to DivRem
System.Private.CoreLib (18)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.DecCalc.cs (5)
227(div, rem) = Math.DivRem(tmp, den); 232(div, rem) = Math.DivRem(tmp, den); 240(bufNum.Low64, rem) = Math.DivRem(tmp, den); 393(ulong quo64, bufNum.Low64) = Math.DivRem(num, den); 1453(low64, ulong remainder) = Math.DivRem(low64, power);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\TimeSpanFormat.cs (3)
137(totalSecondsRemaining, fraction64) = Math.DivRem((ulong)ticks, TimeSpan.TicksPerSecond); 181(totalMinutesRemaining, seconds) = Math.DivRem(totalSecondsRemaining, 60 /* seconds per minute */); 189(totalHoursRemaining, minutes) = Math.DivRem(totalMinutesRemaining, 60 /* minutes per hour */);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (4)
2305(value, ulong remainder) = Math.DivRem(value, 100); 2341(value, ulong remainder) = Math.DivRem(value, 100); 2376(value, remainder) = Math.DivRem(value, 100); 2382(value, remainder) = Math.DivRem(value, 10);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BigIntegerCalculator.Shared.cs (3)
248(ulong q, ulong r) = Math.DivRem(lo, (ulong)divisor); 262(ulong q_hi, ulong r1) = Math.DivRem(((ulong)hi << 32) | lo_hi, divisor); 263(ulong q_lo, ulong r2) = Math.DivRem((r1 << 32) | lo_lo, divisor);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal64.cs (1)
1760return Math.DivRem(value, power);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
887(highRes, leftUpper) = Math.DivRem(left._upper, divisor);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
285public static (ulong Quotient, ulong Remainder) DivRem(ulong left, ulong right) => Math.DivRem(left, right);
System.Runtime.Numerics (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BigIntegerCalculator.Shared.cs (3)
248(ulong q, ulong r) = Math.DivRem(lo, (ulong)divisor); 262(ulong q_hi, ulong r1) = Math.DivRem(((ulong)hi << 32) | lo_hi, divisor); 263(ulong q_lo, ulong r2) = Math.DivRem((r1 << 32) | lo_lo, divisor);