Back Forum Reply New

How to use Big Integers?

I want to use arbitrarily long integers in Csharp, can you tell me how to declare and use this. Please explain the namespace, classes used as I'm very new to this. Thanks.  

    I don't think Microsoft has anything for this at the moment.  You should be able to Google up third-party classes for big numbers, though; csharp/biginteger.asp would be an example.

Frankly, it's no better than the Java BigNumber implementation, which also has poor performance for large numbers (gt; 30 digits, say).  

    You can backdoor install gmp - the GNU package for large numbers.  It's possible to compile a gmp.dll that you can use in Windows.  See:

exact/core/gmp/  

                                   Originally Posted by jim mcnamara                   You can backdoor install gmp - the GNU package for large numbers.  It's possible to compile a gmp.dll that you can use in Windows.                  
Oh yes, this is much better.
¥
Back Forum Reply New