package zarith_stubs_js
Javascripts stubs for the Zarith library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.14.1.tar.gz
sha256=2cea7cb6046a3058184491559b458c9a79ed7d431c9fd7e1fbc6562013556a56
md5=948430731b9e3d0890cfc930b6829c37
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: 14 Oct 2021
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.
Dev Dependencies
None
Used by (17)
-
bignum
= "v0.14.0"
-
bls12-381
>= "3.0.0"
-
bls12-381-js
>= "0.4.2"
- bls12-381-js-gen
-
catala
>= "0.3.0"
-
data-encoding
>= "0.5" & < "1.0.1"
- integers_stubs_js
- octez-libs
- octez-proto-libs
-
polynomial
>= "0.4.0"
-
scaml
>= "1.5.0"
-
tezos-crypto
>= "13.0"
- tezos-hacl
-
tezos-micheline
>= "13.0"
- tezos-micheline-rewriting
-
tezos-protocol-environment
>= "13.0"
-
tezos-stdlib
>= "12.0"
Conflicts (1)
-
zarith
>= "1.12"
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page