【文件属性】:
文件名称:libbigint:大整数库
文件大小:38KB
文件格式:ZIP
更新时间:2021-07-03 12:56:06
C
libbigint -- 大整数库
支持任意精度计算并易于与其他项目集成的整数库。
特征
任意精度算术运算
按位运算
优化倍数、除法和 pow-mod 等。
质数相关操作。
快速斐波那契数组操作
硬件要求
该库专为在 32 位 CPU 或更高版本上工作而设计。
软件要求
该库的源代码完全用 C99 编写,应该适用于 32 位操作系统上的大多数现代 C 编译器。
建造
生成 Makefile 需要 Python2。 (暂不支持 Python3)
使用以下命令生成 Makefile:
$ ./configure
以及以下命令来构建项目:
$ make # for building the test program
$ make static # for building the static library
$ make shared # for building the sha
【文件预览】:
libbigint-master
----big_int_prime.c(18KB)
----argsparse.h(2KB)
----big_int_mem_pool.c(7KB)
----big_int_fibonacci.c(4KB)
----big_int.h(4KB)
----configure(4KB)
----big_int_rand.c(3KB)
----big_int_mem_pool.h(2KB)
----LICENSE(1KB)
----big_int.c(54KB)
----big_int_rand.h(2KB)
----README.md(1KB)
----argsparse.c(3KB)
----big_int_prime.h(2KB)
----big_int_fibonacci.h(2KB)
----.gitignore(251B)
----big_int_compatible.h(2KB)
----main.c(10KB)