Я уже уже Знайте о параллельном. Я использую этот код для расчета: < /p>
Код: Выделить всё
static public class Operations
{
static public BigInteger calculateFib(int iterations)
{
BigInteger a = 0;
BigInteger b = 1;
for (int i = 0; i < iterations; i++)
{
BigInteger temp = a;
a = b;
b = temp + b;
}
return a;
}
}
Подробнее здесь: https://stackoverflow.com/questions/793 ... cci-number