package zarith_stubs_js

  1. Overview
  2. Docs
Javascripts stubs for the Zarith library

Install

Dune Dependency

Authors

Maintainers

Sources

zarith_stubs_js-v0.13.0.tar.gz
sha256=abec0b2a60e376f01f0942530f18f34948dbfcc976a8a4eb338e84e2eb98f6f6
md5=6c48a15eb7b0a41d9b53a1c4915a8a6b

Description

This library contains no ocaml code, but instead implements all of the Zarith C stubs in Javascript for use in Js_of_ocaml

Published: 20 Nov 2019

README

Zarith Stubs JS

Zarith is an OCaml library that implements common operations over arbitrary-precision integers and rationals. It is implemented via a C api that primarily calls out to Gnu Multiple Precision Arithmetic Library. Because of that C API, Zarith could not be compiled via Js_of_ocaml until now.

Zarith Stubs JS is a reimplementation of the native C functions in JavaScript. It makes extensive use of peterolson/BigInteger.js as a shim for browser BigInt functionality and also for the implementations of many numerical algorithms.

Dependencies (2)

  1. dune >= "1.5.1"
  2. ocaml >= "4.04.2"

Dev Dependencies

None

Conflicts (1)

  1. zarith < "1.12" | >= "1.13"
OCaml

Innovation. Community. Security.