What should I use for a BigInt class in .NET?

断了今生、忘了曾经 提交于 2019-11-28 04:20:49

问题


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


回答1:


You could try mine on codeplex: BigInteger

Or here's another: codeproject




回答2:


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




回答3:


Also, the J# library includes a BigInt type.

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

UPDATE 2012 System.Numberics.BigInteger is now included in the .NET framework.




回答4:


Have a look at

IronRuby.StandardLibrary.BigDecimal.BigDecimal



来源:https://stackoverflow.com/questions/567753/what-should-i-use-for-a-bigint-class-in-net

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!