BSD Ports

math/mpexpr 1.2_2 FreeBSD

Multiple precision math for Tcl

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
TclTk
Categories
math, tcl
Package size
65.1 KiB, 162.7 KiB installed

Description

Mpexpr adds two new commands to Tcl, 'mpexpr' and 'mpformat'. Mpexpr works much like Tcl's native 'expr', but does all calculations using an arbitrary precision math package. Mpexpr numbers can be any number of digits, with any decimal precision. Final precision is controlled by a Tcl variable 'mp_precision', which can be any reasonable integer, limiting only the number of digits to the right of the decimal point.

Mpformat works much like Tcl's 'format', except it formats multiple precision numbers in a variety of formats.

Mpexpr also includes most math functions provided by 'expr', as well as several new functions. Mpexpr also supports Tcl variables and nested evaluation, just like 'expr':

In the other systems

SystemPortVersion
FreeBSDmath/mpexpr1.2_2
DragonFlymath/mpexpr1.2_2

Install

Binary package:

pkg install mpexpr

From the ports tree:

cd /usr/ports/math/mpexpr/ && make install clean

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

RUN_DEPENDS=	mpexpr>0:math/mpexpr

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

No port depends on this one.

Configuration

No options to configure.

USES
gmake tcl
Service scripts
none

Files

distinfo 1
FileSizeSHA256
mpexpr-1.2.tar.gz365192bc3e6b0700477f3bd57ed2e41cc89446eb8e50ae80fa3e7728ae1c1e7406312e
Master sites 1
  • SF

Commit history 0

No commits in the history this site was built from.