aboutsummaryrefslogtreecommitdiff
path: root/math/mpexpr/pkg-descr
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-06 02:43:46 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-06 02:43:46 +0000
commitfeccf6245d1246d16a9e5d7c3179023490cdc00d (patch)
treee64c4ca11248eb9555704527850edf793cfd5cd1 /math/mpexpr/pkg-descr
parent330f88d2c3f231a52fc4d9c0c9753a20e3f2e082 (diff)
downloadports-feccf6245d1246d16a9e5d7c3179023490cdc00d.tar.gz
ports-feccf6245d1246d16a9e5d7c3179023490cdc00d.zip
Notes
Diffstat (limited to 'math/mpexpr/pkg-descr')
-rw-r--r--math/mpexpr/pkg-descr15
1 files changed, 15 insertions, 0 deletions
diff --git a/math/mpexpr/pkg-descr b/math/mpexpr/pkg-descr
new file mode 100644
index 000000000000..a552bc20b2fe
--- /dev/null
+++ b/math/mpexpr/pkg-descr
@@ -0,0 +1,15 @@
+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':
+
+WWW: http://www.neosoft.com/tcl/ftparchive/sorted/math/mpexpr-1.0