BSD Ports

math/ocaml-zarith 1.13_2 FreeBSD

OCaml arithmetic library for arbitrary precision integers

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
LGPL20
Categories
math
Package size
228.6 KiB, 1177.3 KiB installed

Description

The Zarith library implements arithmetic and logical operations over arbitrary precision numbers. It uses GMP to efficiently implement arithmetic over large numbers. Small integers are represented as Caml unboxed integers for speed and space economy.

In the other systems

SystemPortVersion
FreeBSDmath/ocaml-zarith1.13_2
OpenBSDmath/ocaml-zarith1.12p3
NetBSDmath/ocaml-zarith1.14nb3
DragonFlymath/ocaml-zarith1.13_2

Install

Binary package:

pkg install ocaml-zarith

From the ports tree:

cd /usr/ports/math/ocaml-zarith/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	ocaml-zarith>0:math/ocaml-zarith

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.13_21.13_2-1.13_21.13_2
FreeBSD:14:quarterly1.13_21.13_2n/a1.13_21.13_2
FreeBSD:15:latest1.13_21.13_2n/a1.13_21.13_2
FreeBSD:15:quarterly1.13_21.13_2n/an/an/a
FreeBSD:16:latest1.13_21.13_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 23
Run dependencies 22

Configuration

Options name: math_${GH_PROJECT:tl}

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
gmake localbase:ldflags ocaml:findlib,ldconfig tar:tgz
Service scripts
none

Files

pkg-plist 22
  • %%OCAML_SITELIBDIR%%/zarith/META
  • %%OCAML_SITELIBDIR%%/zarith/big_int_Z.cmi
  • %%OCAML_SITELIBDIR%%/zarith/big_int_Z.cmti
  • %%OCAML_SITELIBDIR%%/zarith/big_int_Z.cmx
  • %%OCAML_SITELIBDIR%%/zarith/big_int_Z.mli
  • %%OCAML_SITELIBDIR%%/zarith/dllzarith.so
  • %%OCAML_SITELIBDIR%%/zarith/libzarith.a
  • %%OCAML_SITELIBDIR%%/zarith/q.cmi
  • %%OCAML_SITELIBDIR%%/zarith/q.cmti
  • %%OCAML_SITELIBDIR%%/zarith/q.cmx
  • %%OCAML_SITELIBDIR%%/zarith/q.mli
  • %%OCAML_SITELIBDIR%%/zarith/z.cmi
  • %%OCAML_SITELIBDIR%%/zarith/z.cmti
  • %%OCAML_SITELIBDIR%%/zarith/z.cmx
  • %%OCAML_SITELIBDIR%%/zarith/z.mli
  • %%OCAML_SITELIBDIR%%/zarith/zarith.a
  • %%OCAML_SITELIBDIR%%/zarith/zarith.cma
  • %%OCAML_SITELIBDIR%%/zarith/zarith.cmxa
  • %%OCAML_SITELIBDIR%%/zarith/zarith.cmxs
  • %%OCAML_SITELIBDIR%%/zarith/zarith.h
  • %%OCAML_SITELIBDIR%%/zarith/zarith_top.cma
  • %%OCAML_SITELIBDIR%%/zarith/zarith_version.cmx
distinfo 1
FileSizeSHA256
ocaml-Zarith-release-1.13_GH0.tar.gz85994a5826d33fea0103ad6e66f92583d8e075fb77976de893ffdd73ada0409b3f83b

Commit history 0

No commits in the history this site was built from.