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
| System | Port | Version |
|---|---|---|
| FreeBSD | math/mpexpr | 1.2_2 |
| DragonFly | math/mpexpr | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.2_2 | 1.2_2 | 1.2_1 | 1.2_2 | 1.2_2 |
| FreeBSD:14:quarterly | 1.2_2 | 1.2_2 | n/a | 1.2_2 | 1.2_2 |
| FreeBSD:15:latest | 1.2_2 | 1.2_2 | n/a | 1.2_2 | 1.2_2 |
| FreeBSD:15:quarterly | 1.2_2 | 1.2_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.2_2 | 1.2_2 | 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
No port depends on this one.
Configuration
No options to configure.
- USES
- gmake tcl
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| mpexpr-1.2.tar.gz | 365192 | bc3e6b0700477f3bd57ed2e41cc89446eb8e50ae80fa3e7728ae1c1e7406312e |
Master sites 1
- SF
Commit history 0
No commits in the history this site was built from.