BigInteger .net libraries
-
I'm going to be doing a project soon that will involve taking large exponents of large numbers, which will quickly go out of the range of uint64's. Doubles are out too because I need a high level of precision. It looks like I'll need to use something like this: http://www.codeproject.com/csharp/biginteger.asp
Anyone have experience with this or another .net library for dealing with very large numbers?
Thanks
-
Depending on how big you need to go, the .NET Decimal type can act as a 96-bit integer (max val of 79,228,162,514,264,337,593,543,950,335)
But can still be pretty small depending on your needs.
-cw
-
J# has support for BigInts. You can import the packages into your project. Take a look here: http://msdn.microsoft.com/msdnmag/issues/05/12/NETMatters/
-
Sweet, that looks perfect. Thanks!