What: mpexpr Where: ftp://ftp.procplace.com/pub/tcl/sorted/math/Mpexpr-1.0/1.0/ http://www.nyx.net/%7Etpoindex/tcl.html Description: Tcl 7.6/8.0 extension (adding mpexpr and mpformat) that supports multiple precision math for Tcl. Tested on Solaris and Linux and a Windows port has begun. Currently at version 1.0. Updated: 09/2000 Contact: mailto:tpoindex@nyx.net (Tom Poindexter) If compiling and adding mpexpr to your [tcl] environment sounds too much like work and you happen to be running [Linux] or [Unix], check out [Bignums Fast and Dirty ]. ---- TC - Mpexpr is now being hosted at SourceForge: http://mpexpr.sf.net/ ---- [TR] Mpexpr (Version 1.1) does only compile properly until Tcl 8.3. After the CONSTification [http://wiki.tcl.tk/3669] which took place for Tcl 8.4 the compiling returns with an error. You can, however, work around this problem without changing the source code of Mpexpr. Just run the configure script first, then edit the resulting Makefile. In the line saying TCL_SHLIB_CFLAGS = -fPIC just add another entry to make the line look lke this: TCL_SHLIB_CFLAGS = -fPIC -DUSE_NON_CONST You can then compile properly and get the extension running for Tcl 8.4 (Tested on Linux only) ---- [LV] Does Mpexpr provide any functionality not included in the Tcl 8.5 larger number support? Just curious whether this code will evolve or whether it will no longer be needed or what. [AM] Tcl 8.5 adds support for large integers, but not as far as I know for arbitrary-precision reals. So that is where this package will still be useful. ''[escargo] 6 Dec 2005'' - Would this package be faster for multiprecision arithmetic as needed for the Programming Language Shootout? [http://shootout.alioth.debian.org/tcl.php] [AM] Sure, if you compare it to the Tcl-only solution in Tcllib. Whether it is faster than the library incorporated in Tcl 8.5, I do not know. ---- [Category Package] [Category Mathematics]