gmp.js

A port of the GNU Multiple-Precision Library (GMP), a library for arbitrary precision arithmetic, to JavaScript using Emscripten

  • 所有者: kripken/gmp.js
  • 平台:
  • 许可证: GNU General Public License v3.0
  • 分类:
  • 主题:
  • 喜欢:
    2
      比较:

Github星跟踪图

gmp.js

gmp.js is a port of the GNU Multiple-Precision Library (GMP), a library
for arbitrary precision arithmetic, to JavaScript using Emscripten.

GMP website: http://gmplib.org/

Steps to build

  • First run configure and make natively/normally. You will need some
    of the generated executables. Optionally, also build test.c and see
    that it works (see instructions inside test.c).

  • Run configure using something like

      EMCONFIGURE_JS=1 emconfigure ./configure ABI=longlong --build=none --host=none
    
  • Edit config.h and disable HAVE_QUAD_T, HAVE_OBSTACK_VPRINTF

  • Run make using something like

      make -j 2
    
  • Run emscripten.sh which will build the main test file, link it, then
    compile to JavaScript using Emscripten

  • Run the code using something like

      node complete.js 500

主要指标

概览
名称与所有者kripken/gmp.js
主编程语言C
编程语言C (语言数: 7)
平台
许可证GNU General Public License v3.0
所有者活动
创建于2011-10-16 17:27:20
推送于2013-04-15 00:23:27
最后一次提交2013-04-14 17:23:22
发布数0
用户参与
星数45
关注者数8
派生数12
提交数13
已启用问题?
问题数5
打开的问题数2
拉请求数1
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?