math/ocaml-num 1.4_3 DragonFly
Legacy library for arbitrary-precision arithmetic
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- LGPL21
- Categories
- math
- Package size
- 249.8 KiB, 1194.6 KiB installed
Description
The Num library implements integer arithmetic and rational arithmetic in arbitrary precision. It was split off the core OCaml distribution starting with the 4.06.0 release.
New applications that need arbitrary-precision arithmetic should use the Zarith library 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 |
|---|---|---|
| DragonFly | math/ocaml-num | 1.4_3 |
| FreeBSD | math/ocaml-num | 1.4_3 |
| OpenBSD | math/ocaml-num | 1.4p4 |
| NetBSD | math/ocaml-num | 1.4nb3 |
Install
Binary package:
pkg install ocaml-num
From DPorts:
cd /usr/dports/math/ocaml-num && make install clean