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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?