দুটি 32-বিট সংখ্যার গুণফল খুঁজে পেতে Math.BigMul() পদ্ধতি ব্যবহার করুন।
নিম্নলিখিত আমাদের দুটি সংখ্যা.
int one = 345272828; int two = 887685744;
এখন, পণ্যটি পান।
long res; res = Math.BigMul(one, two);
উদাহরণ
using System;
using System.Globalization;
class Demo {
static void Main() {
int one = 345272828;
int two = 887685744;
long res;
res = Math.BigMul(one, two);
Console.WriteLine("{0} * {1} = {2}", one, two, res);
}
} আউটপুট
345272828 * 887685744 = 306493767206164032