System.Numerics.BigInteger允许你将大整数相乘,但浮点数是否有相同类型的东西?如果没有,我可以使用免费图书馆吗?
//this but with floats
System.Numerics.BigInteger maxint = new BigInteger(int.MaxValue);
System.Numerics.BigInteger big = maxint * maxint * maxint;
System.Console.WriteLine(big);
Run Code Online (Sandbox Code Playgroud)