      Ŀ
                                                                     
                           C M A T H for  C / C++                    
                         by Martin Sander 1996-1999                  
                                                                     
                          Shareware Version 1.4                      
      

1. What is CMATH?
-----------------
Didn't you already feel angry about the slow, inaccurate, or even failing
complex-number  functions of your C/C++ compiler? Or did you perhaps regret
that complex numbers are offered only by C++, but not by C?

CMATH is a comprehensive library for complex arithmetics and mathematics.
In the first place, CMATH is intended as a high-quality replacement of the
complex class libraries coming with C++ compilers. In addition, all
functions of CMATH may be called from C, without the necessity to use C++.

Superior speed, accuracy and safety are achieved through the implementation
in Assembly language (as opposed to the C++ code of the common complex class
libraries).

Each of the three floating-point accuracies (float, double, and extended)
is given its own, optimized version of each function.


2. System requirements
----------------------
This version of CMATH is designed for IBM AT, PS/2 or compatibles,
equipped at least with a 80386 CPU and a 80387 coprocessor
(Visual C++ version: at least 486DX).
Depending on your choice when ordering or downloading,
- either for Borland C++ (Turbo C++), version 3.0 or higher, memory
  models Win32, Windows-LARGE, or  DOS-LARGE
- or for Microsoft Visual C++, version 5.0 or higher, "single-thread debug"
  or "multi-thread debug"

Registered version for Borland C/C++:
all memory models; separate libraries optimized for all processors from
486DX/Pentium down to 286 with or without coprocessor.

Registered version for Microsoft Visual C++:
all PC models using the "single-thread", "multi-thread", or
"multi-thread DLL" run-time libraries, both for debug and release.


3. Installation
---------------
Please run the installation program INSTALL.EXE. If anything goes wrong,
you may try the following:
   a) Create the directory where you want CMATH to reside.
   b) Manually unzip the file DOC.ZIP into it.
   c) Create a sub-directory /LIB and unzip the file LIB.ZIP into it.
   d) Create a sub-directory /INCLUDE and unzip the file INCLUDE.ZIP into it.
If you don't succeed that way, you probably got a corrupted download.
Please download again. If even that does not help, please contact:
MartinSander@Bigfoot.com.

After you completed the installation, you must set the library search path
and the include-file search path according to your CMATH directory choice:
Add these paths to the standard settings in the menu
"Options/Project/Directories" of Borland C 4.x and 5.x, or
"Options/Directories" in Borland C++ 3.x.
(Remember: a semicolon is used to separate entries in these fields.)


4. Running the example
----------------------
Check your installation by compiling and running CDEMO.CPP. Follow the
instructions in the header of that file.
If you get compiler errors like "Cannot open include file ...", or a
linker error "Unresolved external", you probably did not set the library
and include paths correctly.


5. Documentation
----------------
The full CMATH documentation is to be found in the file CMATH.TXT as
ASCII text. If you want to load the documentation into a word processor
under Windows, you must use the filter "ASCII text" or "MS DOS text".

6. Copyright
------------
The copyright owner of this product as a whole and of all its constituent
parts is
         Dr. Martin Sander Software Development
         Serturnerstr. 11
         D-37085 Goettingen
         Germany
         e-mail: MartinSander@Bigfoot.com
         http://www.optivec.com

This Shareware version of CMATH is freely distributable in unchanged form.
For the distribution of applications created using CMATH, you need the
registered version. The detailed licence conditions are described in
chapter 1.2 of the file CMATH.TXT.


7. Registered Version
---------------------
If you like CMATH and decide to use it, please be fair and register.
The registered version of CMATH

-  supports all memory models of Windows95, NT, 3.x, and DOS of Borland C++,
   or all debug and release targets of Visual C++, respectively.

-  has individually optimized libraries for each degree of processor
   backward-compatibility:
      486DX/Pentium+
      386+ (387 coprocessor required)
      286+ (no coprocessor required).

-  comes with printed documentation.

-  entitles you to two free updates.

-  costs USD 60 for the commercial edition,
         USD 39 for the educational edition,
   and can be ordered by e-mail from the author or through the
   following secure-server web-sites:

   Atlantic Coast's SoftShop:
   http://www.soft-shop.com/cgi-bin/order.html?136

   ShareIt:
   http://www.shareit.com/programs/101353.htm

See chapter 1.3 of the file CMATH.TXT for details about ordering.


    * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
