summaryrefslogtreecommitdiff
path: root/math/mpexpr (follow)
Commit message (Collapse)AuthorAgeFilesLines
* new port for mpexprEdwin Groothuis2003-10-066-0/+198
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. PR: ports/48764 Submitted by: chein@GeekDude.com <chein@GeekDude.Com> Notes: svn path=/head/; revision=90359