      Ŀ
                                                                     
                        C M A T H for Borland C / C++                
                         by Martin Sander 1996-1998                  
                                                                     
                           Shareware Version 1.2                     
      

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 meant 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 is 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.
For Borland C++ (Turbo C++), version 3.0 or higher, memory models Win32,
Windows-LARGE, or  DOS-LARGE (depending on choice when ordering or
downloading).
Registered version: all memory models; separate libraries optimized for
all processors from 486DX/Pentium down to 286 with or without coprocessor.


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
("Options/Directories" in Borland C 3.x, "Options/Project/Directories" in
Borland C++ 4.x and 5.x).


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
         Sertrnerstr. 11
         D-37085 Gttingen
         Germany
         e-mail: MartinSander@Bigfoot.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 costs DM 99,- (incl. German VAT) or
USD 60 (excl. VAT).
See chapter 1.3 of the file CMATH.TXT for details about ordering.


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