| 1 |
kreckel |
1.1 |
Class Library for Numbers
|
| 2 |
|
|
|
| 3 |
|
|
Copyright (c) Bruno Haible 1988-2000
|
| 4 |
|
|
|
| 5 |
|
|
GPL
|
| 6 |
|
|
|
| 7 |
|
|
Features:
|
| 8 |
|
|
- Rich set of number classes:
|
| 9 |
kreckel |
1.2 |
Integer (unlimited precision), rational, short float,
|
| 10 |
|
|
single float, double float, long float (unlimited
|
| 11 |
|
|
precision), complex, modular integer, univariate polynomial.
|
| 12 |
kreckel |
1.1 |
- Elementary, logical, transcendental functions.
|
| 13 |
|
|
- C++ as implementation language brings
|
| 14 |
|
|
- efficiency,
|
| 15 |
|
|
- type safety,
|
| 16 |
|
|
- algebraic syntax.
|
| 17 |
|
|
- Memory efficiency:
|
| 18 |
|
|
- Small integers and short floats are immediate,
|
| 19 |
|
|
not heap allocated.
|
| 20 |
|
|
- Automatic, non-interruptive garbage collection.
|
| 21 |
|
|
- Speed efficiency:
|
| 22 |
|
|
- Assembly language kernel for some CPUs,
|
| 23 |
|
|
- Karatsuba and Schönhage-Strassen multiplication.
|
| 24 |
|
|
- Interoperability:
|
| 25 |
|
|
- Garbage collection with no burden on
|
| 26 |
|
|
the main application,
|
| 27 |
|
|
- hooks for memory allocation and exceptions.
|
| 28 |
|
|
|
| 29 |
|
|
Requires: C++ compiler g++.
|
| 30 |
|
|
The following C++ features are used:
|
| 31 |
kreckel |
1.2 |
classes, member functions, overloading of functions and operators,
|
| 32 |
|
|
constructors and destructors, inline, const, multiple inheritance,
|
| 33 |
|
|
templates and namespaces.
|
| 34 |
kreckel |
1.1 |
The following C++ features are not used:
|
| 35 |
kreckel |
1.2 |
new, delete, virtual inheritance, exceptions.
|
| 36 |
kreckel |
1.1 |
|
| 37 |
|
|
Homepage: http://clisp.cons.org/~haible/packages-cln.html
|