qBigInt:Big Integer KDB +算法的C库

时间:2021-04-11 22:35:31
【文件属性】:
文件名称:qBigInt:Big Integer KDB +算法的C库
文件大小:8KB
文件格式:ZIP
更新时间:2021-04-11 22:35:31
C qBigInt Big Interger KDB +算法的C库 函数:add,sub,mul,div,cmp 输入:以基数2、10或16 ... 62中的大数字字符串形式传入x和y 输出:指定基数的字符串号 设置: 使用get_gmp.sh安装GMP库 编译C bigint库(64位kdb的示例) 使用VS的Windows dll编译:cl / LD / DKXVER = 3 bigint.c bigint.def q.lib -lgmp Linux这样使用gcc进行编译:gcc -D KXVER = 3 -Wall -fno-strict-aliasing -Wno-括号-g -O2 -shared -fPIC -o bigint.so bigint.c -lgmp 在Mac上使用gcc进行编译:gcc -bundle -undefined dynamic_lookup b
【文件预览】:
qBigInt-master
----q_32.lib(9KB)
----bigint.c(6KB)
----bigint.def(35B)
----get_gmp.sh(28B)
----q.lib(9KB)
----README.md(2KB)
----k.h(4KB)

网友评论