
		      ALG48 v4.01 Source Code
		      =======================

  All the files of the ALG48, LongFloat and SpecFun libraries are
  copyrighted (c) by Claude-Nicolas Fiechter and Mika Heiskanen. 

  PLEASE READ THE FILE LICENSE.TXT FOR ALG48 DISTRIBUTION LICENSE 
  AND DISCLAIMER OF WARRANTY.


1. GNU Tools
------------

The source code requires GNU Tools to be assembled correctly. To
obtain the source code see

	http://maja.zems.fer.hr/~mozgy

A Unix makefiles is provided (mass).


2. Extension Libraries
----------------------

The source code includes two sample extension library in the SpecFun
and Long directories. Following the ideas in the makefiles (specmk and
mklong) it should be easy to make other extension libraries. In
particular one should note

  - The equ.s and extern.h includes must be done.
  - The romid must be higher than 909 (ALG48 romid).
  - The library should be stored in the same port as ALG48 (in GX).
  - Each command should call FastLib as instructed in fastlib.s
  - The library *can* freely use any machine language data
    allocation calls as long as FastLib has been called and
    proper ending TOTEMPOB calls are done if the command returns
    more than one result.

However the internal order of the NULLNAME's is not and obviously
cannot be supported. Thus if any person wishes to make his extension
library public it is recommended that the person would contact the
authors of ALG48 to agree on a common distribution method to ensure
compatibility in the future.


3. Algorithms
-------------

The algorithms used in the source code are not always well commented.
However most of them are standard methods in modern computer algebra
and thus are well covered in books covering the topic. Good starting
points are

Knuth,D.E
The Art of Computer Programming
Vol. II, Semi-numerical Algorithms, 2nd End.
Addison-Wesley, 1981

Davenport, Siret, Tournier
Computer Algebra: Systems and algorithms for algebraic computation
Academic Press, 1988

Both include extensive references to more detailed topics. Much
information can also be found from the Internet using proper keywords
in www-searches.

