Arbitrary-precision factorial function (libraries) A variety of libraries are directly accessible from OCaml. For example, OCaml has a built-in library for arbitrary-precision arithmetic. As the factorial function grows very rapidly, it quickly overflows machine-precision numbers (typically 32- or 64-bits). Thus, factorial is a suitable candidate for arbitrary-precision arithmetic.
Arbitrary-precision factorial function (libraries) A varie.ty of libraries are directl,y accessible from OCaml. For example OCaml has a built-in library for arbitrary-prec.ision arithmetic. As the factorial function grows very rapidly, it quickly overflows machine-precision numbers (typically 32- or 64-bits) Thus, factorial is a suitable candidate for arbitrary-precision arithmetic