ocaml-num

OCaml legacy Num library for arbitrary-precision arithmetic

brewmacoslinux
Try with needOr install directly
Source

About

OCaml legacy Num library for arbitrary-precision arithmetic

Commands

ocamlnum

Examples

Link Num library when compiling OCaml programs$ ocamlc -I +num num.cma myprogram.ml -o myprogram
Use Num library in OCaml interactive toplevel$ ocaml #require "num";; open Num;; let x = num_of_int 12345678901234567890;;
Compile with Num library using ocamlfind$ ocamlfind ocamlc -package num -linkpkg myprogram.ml -o myprogram