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