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
Zarith Stubs JS is a
extensive use of
as a shim for browser BigInt functionality and also for the
implementations of many numerical algorithms.
How to use it ?
In order to use
js_of_ocaml, just provide the
as you would normally do.