views:

1209

answers:

4

Until BCL finally ships System.Numeric.BigInt, what do you guys use for arbitrary precision integers?

A: 

Have a look at

IronRuby.StandardLibrary.BigDecimal.BigDecimal

Sam Saffron
Is it available as a simple DLL I can reference? (I'm coding in C# if that matters).
ripper234
It's MPL so you should be free to reuse the file
Sam Saffron
I wasn't asking about the license terms, just about the ease of use.
ripper234
It looks like it would be fairly simple to extract this from iron ruby
Sam Saffron
+5  A: 

You could try mine on codeplex: BigInteger

Or here's another: codeproject

Scott
+1  A: 

F# has Microsoft.FSharp.Math.BigInt and Microsoft.FSharp.Math.BigNum.

Richard
+1  A: 

Also, the J# library includes a BigInt type.

Thankfully, all this will be sorted out when the BCL finally ships a standardized BigInt.

Judah Himango