如何在 vb.net 中使用 BigInt 类? (视觉工作室2008)
最近我使用int64。
但它不再处理我的数据。
所以我想要像 BigInt 这样的东西。
有什么想法吗?
recently i use int64.
but it's no more handle my data.
so I want something like BigInt.
any idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
如果您能够使用 .NET 4.0 beta 1,则可以使用
System.Numerics.BigInteger
。另外还有各种开源 周围的图书馆。If you're able to use .NET 4.0 beta 1, you could use
System.Numerics.BigInteger
. Otherwise there are various open source libraries around.使用 J# BigInteger 类,如下所述:BigInteger
Use the J# BigInteger class as described here: BigInteger
你的意思是 BigInt 无符号整数数学库?
You mean like BigInt unsigned integer math library?
你的 int64: -9,223,372,036,854,775,808 到 9,223,372,036,854,775,807 (9.2...E+18 †) (signed)
尝试使用 Double: 4.94065645841246544E-324 到 1.7976931348623157 0E+308 † 为正值
your int64: -9,223,372,036,854,775,808 through 9,223,372,036,854,775,807 (9.2...E+18 †) (signed)
Try using Double: 4.94065645841246544E-324 through 1.79769313486231570E+308 † for positive values