OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

ocaml-num-1.4p4

library for arithmetic on big integers and rationals

Back to search · Project homepage

Description

Arbitrary-precision arithmetic on big integers and on rationals. This is a legacy library. It used to be part of the core OCaml distribution (in otherlibs/num) but is now distributed separately. New applications that need arbitrary-precision arithmetic should use the Zarith library (https://github.com/ocaml/Zarith) instead of the Num library, and older applications that already use Num are encouraged to switch to Zarith. Zarith delivers much better performance than Num and has a nicer API.

Package information

Ports path
math/ocaml-num
Package architecture
amd64
Maintainer
Christopher Zimmermann <chrisz@openbsd.org>
Categories
math
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Runtime

Build

Used by (1 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON