Oktatás * Programozás 2 * Szkriptnyelvek * levelezősök Félévek Linkek * kalendárium |
CSharp /
20180404cBigIntegerusing System.Numerics; BigInteger big = BigInteger.Parse("783643547263216431243126432432646234"); WriteLine(big); WriteLine(big * 2); // you can work with it as if it were a normal int How much is 2256? using System.Numerics; BigInteger num = 2; num = BigInteger.Pow(num, 256); // 1st parameter is a BigInteger WriteLine(num); |
Blogjaim, hobbi projektjeim * The Ubuntu Incident [ edit ] |