Version 12 of Mpexpr

Updated 2005-12-06 19:55:57 by escargo

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:[email protected]  (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 [L1 ] 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.

escargo 6 Dec 2005 - Would this package be faster for multiprecision arithmetic as needed for the Programming Language Shootout? [L2 ]


Category Package Category Mathematics