Multi-Precision Expressions

Check-in [cfec2311f8]
Login

Check-in [cfec2311f8]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Housekeeping updates for a release of 1.2
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: cfec2311f80464617e70377351fa6912bc03533c
User & Date: dgp 2016-09-15 16:49:27.000
Context
2016-09-15
18:42
Updated pre-compiled libs and instructions for Windows. check-in: 39c154006c user: dgp tags: trunk
16:49
Housekeeping updates for a release of 1.2 check-in: cfec2311f8 user: dgp tags: trunk
16:27
Remove disabled code. check-in: c953bc31a3 user: dgp tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to HISTORY.
21
22
23
24
25
26
27
28
		Windows .dll in distribution.

nov 29 1998	modified Ken St-Cyr's <[email protected]> calculator 
		program 'ksc.tcl' for use as an Mpexpr sample program.

dec 5 1998	release version 1.0

May 2013	release version 1.2







|
21
22
23
24
25
26
27
28
		Windows .dll in distribution.

nov 29 1998	modified Ken St-Cyr's <[email protected]> calculator 
		program 'ksc.tcl' for use as an Mpexpr sample program.

dec 5 1998	release version 1.0

Sept 2016	release version 1.2
Changes to INSTALL.
57
58
59
60
61
62
63
64
65
   This step will install Mpexpr shared library and pkgIndex.tcl or
   static libraries and executables.
   If you built the shared library, you can use Mpexpr in your Tcl
   programs by using the 'package require Mpexpr' command.  


Tom Poindexter
tpoindex@nyx.net








|

57
58
59
60
61
62
63
64
65
   This step will install Mpexpr shared library and pkgIndex.tcl or
   static libraries and executables.
   If you built the shared library, you can use Mpexpr in your Tcl
   programs by using the 'package require Mpexpr' command.  


Tom Poindexter
tpoindex@gmail.com

Changes to README.
1
2
3
4
5
6
7
8
9
10
11
12
13
14

Mpexpr README

Multiple precision math for Tcl

Copyright 1998 Tom Poindexter,  all rights reserved
tpoindex@nyx.net

Mpexpr is distributed under a "BSD" style license.  
See the file 'LICENSE.TERMS' for details.


WHERE TO GET IT







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14

Mpexpr README

Multiple precision math for Tcl

Copyright 1998 Tom Poindexter,  all rights reserved
tpoindex@gmail.com

Mpexpr is distributed under a "BSD" style license.  
See the file 'LICENSE.TERMS' for details.


WHERE TO GET IT

125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
 When mpexpr is built as a shared library, you can load the extension with:

	package require Mpexpr


WINDOWS BINARIES

A Windows DLL is included, compiled with Tcl 8.0.  To install, unpack
all the files in the ./win directory, and run:
	tclsh80 install.tcl

Please note!!  	I'm not suppling a .zip file for Windows.
		The popular WinZip program can unpack .tar.gz files.  Save the
	  	distribution file on your Windows machine, 
		using .tgz instead of .tar.gz for best results. 

INSTALLATION







|

|







125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
 When mpexpr is built as a shared library, you can load the extension with:

	package require Mpexpr


WINDOWS BINARIES

A Windows DLL is included, compiled with Tcl 8.6.  To install, unpack
all the files in the ./win directory, and run:
	tclsh86 install.tcl

Please note!!  	I'm not suppling a .zip file for Windows.
		The popular WinZip program can unpack .tar.gz files.  Save the
	  	distribution file on your Windows machine, 
		using .tgz instead of .tar.gz for best results. 

INSTALLATION
Changes to unix/Makefile.in.
1
2
3
4
5
6
7
8
9
10
###############################################################################
#
# Mpexpr-1.0
# Makefile.in for Mpexpr configure
#
# Copyright 1998 Tom Poindexter 

MPEXPR_VERSION = @MPEXPR_VERSION@
MPEXPR_LIBVER  = @MPEXPR_LIBVER@



|







1
2
3
4
5
6
7
8
9
10
###############################################################################
#
# Mpexpr-1.2
# Makefile.in for Mpexpr configure
#
# Copyright 1998 Tom Poindexter 

MPEXPR_VERSION = @MPEXPR_VERSION@
MPEXPR_LIBVER  = @MPEXPR_LIBVER@

Changes to win/README.win.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Mpexpr for Windows

BEFORE YOU BEGIN

Mpexpr has been ported to WindowsNT.
It has been tested with the latest version of Tcl, 8.6.0


INSTALLING MPEXPR FOR WINDOWS

Binary install:
 
1. Copy mpexpr.dll to your Tcl .\lib directory.  
    
    copy mpexpr10.dll  c:\tcl\lib\mpexpr10.dll

2. Copy or add pkgIndex.tcl to your Tcl lib directory.  This is so the
   'package unknown' scripts can resolve the 'package ifneeded' to load the
   dll.

    mkdir c:\tcl\lib\mpexpr10
    copy pkgIndex.tcl c:\tcl\lib\mpexpr10

3. Try it out!

    c:\> tclsh
    % package require Mpexpr
    1.0 
    % mpexpr fib(34)

    If you get errors:

    If 'package require' says it can't find package Mpexpr:
	    -make sure you've installed the pkgIndex.tcl.
	    -or just load the mpexpr.dll manually
		    % load "c:/tcl/lib/mpexpr10.dll"
		    (or wherever you put it)


BUILDING MPEXPR FOR WINDOWS

The test development environment is
	Windows 7





|








|





|
|





|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Mpexpr for Windows

BEFORE YOU BEGIN

Mpexpr has been ported to WindowsNT.
It has been tested with the latest version of Tcl, 8.6


INSTALLING MPEXPR FOR WINDOWS

Binary install:
 
1. Copy mpexpr.dll to your Tcl .\lib directory.  
    
    copy mpexpr12.dll  c:\tcl\lib\mpexpr12.dll

2. Copy or add pkgIndex.tcl to your Tcl lib directory.  This is so the
   'package unknown' scripts can resolve the 'package ifneeded' to load the
   dll.

    mkdir c:\tcl\lib\mpexpr12
    copy pkgIndex.tcl c:\tcl\lib\mpexpr12

3. Try it out!

    c:\> tclsh
    % package require Mpexpr
    1.2 
    % mpexpr fib(34)

    If you get errors:

    If 'package require' says it can't find package Mpexpr:
	    -make sure you've installed the pkgIndex.tcl.
	    -or just load the mpexpr.dll manually
		    % load "c:/tcl/lib/mpexpr12.dll"
		    (or wherever you put it)


BUILDING MPEXPR FOR WINDOWS

The test development environment is
	Windows 7
Changes to win/makefile.vc.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Makefile.vc
#
# This makefile is suitable for use with Microsoft Visual C++ 8 and 10
#
# This makefile was hacked from Sun's 'example.zip'
# Copyright (c) 1996 Sun Microsystems, Inc.
# SCCS: @(#) makefile.vc 1.3 96/04/24 13:28:08
# Copyright 1997 Tom Poindexter.
#

MPEXPR_VERSION = 1.0
DLL_VERSION = 10

PROJECT = mpexpr$(DLL_VERSION)

#
# Project directories -- these may need to be customized for your site
# NOTE: vcvarsall.bat or equivalent should be run first to set up
#       the environment for the VC++ tools.










|
|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Makefile.vc
#
# This makefile is suitable for use with Microsoft Visual C++ 8 and 10
#
# This makefile was hacked from Sun's 'example.zip'
# Copyright (c) 1996 Sun Microsystems, Inc.
# SCCS: @(#) makefile.vc 1.3 96/04/24 13:28:08
# Copyright 1997 Tom Poindexter.
#

MPEXPR_VERSION = 1.2
DLL_VERSION = 12

PROJECT = mpexpr$(DLL_VERSION)

#
# Project directories -- these may need to be customized for your site
# NOTE: vcvarsall.bat or equivalent should be run first to set up
#       the environment for the VC++ tools.
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
ROOT        = ..
TMPDIR      = .
GENERICDIR  = $(ROOT)\generic

# point TCL and TCLLIB to your tcl distribution

TCL     = C:\tcl
TCLLIB  = $(TCL)\lib\tcl85.lib
TCLSH   = tclsh

# comment the following line to compile with symbols
NODEBUG=1

cc      = cl
CP      = copy







|







28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
ROOT        = ..
TMPDIR      = .
GENERICDIR  = $(ROOT)\generic

# point TCL and TCLLIB to your tcl distribution

TCL     = C:\tcl
TCLLIB  = $(TCL)\lib\tcl86.lib
TCLSH   = tclsh

# comment the following line to compile with symbols
NODEBUG=1

cc      = cl
CP      = copy
Deleted win/mpexpr1080.dll.

cannot compute difference between binary files

Changes to win/pkgIndex.tcl.
1
package ifneeded Mpexpr 1.0 "load [file join $dir .. mpexpr10.dll]"
|
1
package ifneeded Mpexpr 1.2 "load [file join $dir .. mpexpr12.dll]"