math/ocaml-num 1.4_3 FreeBSD
Legacy library for arbitrary-precision arithmetic
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- LGPL21
- Categories
- math
- Package size
- 304.3 KiB, 1236.4 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 |
|---|---|---|
| FreeBSD | math/ocaml-num | 1.4_3 |
| OpenBSD | math/ocaml-num | 1.4p4 |
| NetBSD | math/ocaml-num | 1.4nb3 |
| DragonFly | math/ocaml-num | 1.4_3 |
Install
Binary package:
pkg install ocaml-num
From the ports tree:
cd /usr/ports/math/ocaml-num/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ocaml-num>0:math/ocaml-num
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.4_3 | 1.4_3 | 1.4 | 1.4_3 | 1.4_3 |
| FreeBSD:14:quarterly | 1.4_3 | 1.4_3 | n/a | 1.4_3 | 1.4_3 |
| FreeBSD:15:latest | 1.4_3 | 1.4_3 | n/a | 1.4_3 | 1.4_3 |
| FreeBSD:15:quarterly | 1.4_3 | 1.4_3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.4_3 | 1.4_3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 4
Run dependencies 1
Configuration
No options to configure.
- USES
- gmake ocaml
- Service scripts
- none
Files
pkg-plist 33
- lib/ocaml/arith_flags.cmx
- lib/ocaml/arith_status.cmi
- lib/ocaml/arith_status.cmti
- lib/ocaml/arith_status.cmx
- lib/ocaml/arith_status.mli
- lib/ocaml/big_int.cmi
- lib/ocaml/big_int.cmti
- lib/ocaml/big_int.cmx
- lib/ocaml/big_int.mli
- lib/ocaml/int_misc.cmx
- lib/ocaml/libnums.a
- lib/ocaml/nat.cmi
- lib/ocaml/nat.cmti
- lib/ocaml/nat.cmx
- lib/ocaml/nat.mli
- lib/ocaml/num.cmi
- lib/ocaml/num.cmti
- lib/ocaml/num.cmx
- lib/ocaml/num.mli
- lib/ocaml/nums.a
- lib/ocaml/nums.cma
- lib/ocaml/nums.cmxa
- lib/ocaml/nums.cmxs
- lib/ocaml/ratio.cmi
- lib/ocaml/ratio.cmti
- lib/ocaml/ratio.cmx
- lib/ocaml/ratio.mli
- %%OCAML_SITELIBDIR%%/num-top/META
- %%OCAML_SITELIBDIR%%/num-top/num_top.cma
- %%OCAML_SITELIBDIR%%/num-top/num_top.cmi
- %%OCAML_SITELIBDIR%%/num-top/num_top_printers.cmi
- %%OCAML_SITELIBDIR%%/num/META
- lib/ocaml/stublibs/dllnums.so
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| ocaml-num-v1.4_GH0.tar.gz | 66327 | 015088b68e717b04c07997920e33c53219711dfaf36d1196d02313f48ea00f24 |
Commit history 0
No commits in the history this site was built from.