math/ocaml-num 1.4p4 OpenBSD
library for arithmetic on big integers and rationals
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- Christopher Zimmermann <[email protected]>
- Categories
- math
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.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | math/ocaml-num | 1.4p4 |
| FreeBSD | math/ocaml-num | 1.4_3 |
| NetBSD | math/ocaml-num | 1.4nb3 |
| DragonFly | math/ocaml-num | 1.4_3 |
| GhostBSD | math/ocaml-num | 1.4_3 |
Install
Binary package:
pkg_add ocaml-num
From the ports tree:
cd /usr/ports/math/ocaml-num && make install