Effectively Unlimited Sized Signed Integ - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
The CBigInt class allows the manipulation of extremely large signed integer values. The data contained in the objects is stored in an array of unsigned longs, which is dynamically allocated on the heap as required. The maximum size of this array is MAXLONG elements, giving a theoretical possible range of values of -268,719,476,704 to 268,719,476,704 - 1. With numbers this big, a further realistic limitation of available memory would also apply, a full range number requiring 8Gb of RAM to store, without output formatting.
高效的无限大小的无符号整型数据
CBigInt类允许对极大无符号整数的处理。存放在对象中的数据被储存在一个无符号长整型数组中,按需要在堆空间中被动态分配。这个数组的最大数量是 MAXLONG 成员值,理论上的可能范围是-268,719,476,704 to 268,719,476,704-1。这个数字是非常大的,进一步合理的限制是可以使用的内存,全部存储需要 8Gb 的RAM,不考虑输出格式化。
来源: http://www.codeguru.com/data-misc/BigInt.html |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
BigIntTestProj |
 1.0  |
2004-04-18 |
下载 |
|
|