Re: [tkined] counter32:"integer value too large to represent"

From: Eddie Corns (
Date: Wed Mar 01 2000 - 12:45:03 MET

I came across this in my searching but I haven't actually tried it yet.

(nobody has sent me any viruses (virii?))




Mpexpr is a multiple precision math package for Tcl. Mpexpr adds two new commands
to Tcl: mpexpr and mpformat. mpexpr is used just like Tcl's expr command, except it
allows you to calculate with ridiculously large numbers. Or ordinary average size
numbers, without the binary floating point to decimal floating point conversion
problems that expr sometimes experiences.

For example:

% set mp_precision 50
% mpexpr 2.0/3.0
% mpexpr atan(1.0)*4 ;# common pi approximation
% mpexpr fact(34) ;# factorial

Mpexpr is based on Tcl's expr command, and David Bell's fine Calc program, which is
now enhanced and maintained by Landon Curt Noll.

The current release of Mpexpr is 1.0, and can be found at
. Here is the README. Mpexpr supports Tcl 8.0

!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <>.
!! See for more information.

This archive was generated by hypermail 2b29 : Mon Jan 08 2001 - 15:27:38 MET