54 references to BigMul
System.Private.CoreLib (54)
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (3)
1389
ulong u2 = Math.
BigMul
(EafMultiplier, r1 | 3U);
1451
ulong u2 = Math.
BigMul
(EafMultiplier, r1 | 3U);
1528
ulong u2 = Math.
BigMul
(EafMultiplier, r1 | 3U);
src\libraries\System.Private.CoreLib\src\System\Decimal.DecCalc.cs (45)
376
ulong prod = Math.
BigMul
(quo, (uint)den); // quo * lo divisor
422
ulong prod1 = Math.
BigMul
(quo, bufDen.U0); // quo * lo divisor
423
ulong prod2 = Math.
BigMul
(quo, bufDen.U1); // quo * mid divisor
482
ulong tmp = Math.
BigMul
(bufNum.U0, power);
485
tmp += Math.
BigMul
(bufNum.U1, power);
488
tmp += Math.
BigMul
(bufNum.U2, power);
495
ulong tmp = Math.
BigMul
(bufNum.U0, power);
498
tmp += Math.
BigMul
(bufNum.U1, power);
918
low64 = Math.
BigMul
((uint)low64, TenToPowerNine);
927
tmpLow = Math.
BigMul
((uint)low64, power);
928
tmp64 = Math.
BigMul
((uint)(low64 >> 32), power) + (tmpLow >> 32);
943
tmpLow = Math.
BigMul
((uint)low64, power);
944
tmp64 = Math.
BigMul
((uint)(low64 >> 32), power) + (tmpLow >> 32);
947
tmp64 += Math.
BigMul
(high, power);
979
tmp64 += Math.
BigMul
(rgulNum[cur], power);
1182
ulong high = Math.
BigMul
(pwr, pdecIn.Mid);
1185
ulong low = Math.
BigMul
(pwr, pdecIn.Low);
1270
ulong tmpLow = Math.
BigMul
((uint)low64, power);
1271
ulong tmp = Math.
BigMul
((uint)(low64 >> 32), power) + (tmpLow >> 32);
1274
tmp += Math.
BigMul
(high, power);
1317
ulong low64 = Math.
BigMul
(d1.Low, d2.Low);
1348
tmp = Math.
BigMul
(d1.Low, d2.Low);
1351
tmp = Math.
BigMul
(d1.Low, d2.Mid) + (tmp >> 32);
1357
tmp += Math.
BigMul
(d1.Low, d2.High);
1372
tmp = Math.
BigMul
(d2.Low, d1.Low);
1375
tmp = Math.
BigMul
(d2.Low, d1.Mid) + (tmp >> 32);
1381
tmp += Math.
BigMul
(d2.Low, d1.High);
1416
tmp = Math.
BigMul
(d1.Low, d2.Low);
1419
ulong tmp2 = Math.
BigMul
(d1.Low, d2.Mid) + (tmp >> 32);
1421
tmp = Math.
BigMul
(d1.Mid, d2.Low);
1429
tmp = Math.
BigMul
(d1.Mid, d2.Mid) + tmp2;
1435
tmp2 = Math.
BigMul
(d1.Low, d2.High);
1441
tmp2 = Math.
BigMul
(d1.High, d2.Low);
1448
tmp = Math.
BigMul
(d1.Mid, d2.High);
1454
tmp2 = Math.
BigMul
(d1.High, d2.Mid);
1461
bufProd.High64 = Math.
BigMul
(d1.High, d2.High) + tmp;
1598
ulong hi64 = Math.
BigMul
(TenToPowerNine, (uint)(low64 >> 32));
1599
low64 = Math.
BigMul
(TenToPowerNine, (uint)low64);
1749
ulong low64 = Math.
BigMul
((uint)mant, pow10);
1750
ulong hi64 = Math.
BigMul
((uint)(mant >> 32), pow10);
1954
ulong num = Math.
BigMul
(remainder, power);
2187
ulong tmp = Math.
BigMul
(d2.Low, power);
2214
ulong tmp = Math.
BigMul
(bufQuo.U0, power);
2275
ulong tmp64 = Math.
BigMul
(b.Buf24.U0, power);
2280
tmp64 += Math.
BigMul
(buf[i], power);
src\libraries\System.Private.CoreLib\src\System\Math.cs (6)
1520
valMid =
BigMul
(val2High, (uint)left);
1527
valMid =
BigMul
(val1High, (uint)right);
1534
long ret = (long)(
BigMul
((uint)left, (uint)right) + (valMid << 32));
1578
valMid =
BigMul
(val2High, (uint)left);
1585
valMid =
BigMul
(val1High, (uint)right);
1592
ulong ret =
BigMul
((uint)left, (uint)right) + (valMid << 32);