【文件属性】:
文件名称:bigint:适用于C和C ++的任意精度整数库
文件大小:14KB
文件格式:ZIP
更新时间:2021-05-02 17:56:11
C
停产,转而使用
比金特
C用法示例:
# include " bigint.h "
# include < stdio>
int main (){
char buf[ 65536 ];
/* neat trick to avoid having to write &a, &b, &c everywhere */
bigint a[ 1 ], b[ 1 ], c[ 1 ];
/* bigints have to be initialized (same as memset'ed to zero) */
bigint_init (a);
bigint_init (b);
bigint_init (c);
/* create bigint from string */
bigint_from_str (a, " 12
【文件预览】:
bigint-master
----.gitignore(265B)
----c_examples.c(696B)
----README.md(3KB)
----bigint.h(5KB)
----bigint.c(32KB)
----bigint.hpp(5KB)
----LICENSE(1KB)
----tests.c(3KB)
----cpp_examples.cpp(1KB)
----Makefile(356B)