BSD Ports

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

SystemPortVersion
FreeBSDmath/ocaml-num1.4_3
OpenBSDmath/ocaml-num1.4p4
NetBSDmath/ocaml-num1.4nb3
DragonFlymath/ocaml-num1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.4_31.4_31.41.4_31.4_3
FreeBSD:14:quarterly1.4_31.4_3n/a1.4_31.4_3
FreeBSD:15:latest1.4_31.4_3n/a1.4_31.4_3
FreeBSD:15:quarterly1.4_31.4_3n/an/an/a
FreeBSD:16:latest1.4_31.4_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
FileSizeSHA256
ocaml-num-v1.4_GH0.tar.gz66327015088b68e717b04c07997920e33c53219711dfaf36d1196d02313f48ea00f24

Commit history 0

No commits in the history this site was built from.