| 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 |
|
|
Integer (unlimited precision), rational,
|
| 10 |
|
|
short float, single float, double float,
|
| 11 |
|
|
long float (unlimited precision), complex,
|
| 12 |
|
|
modular integer, univariate polynomial.
|
| 13 |
|
|
- Elementary, logical, transcendental functions.
|
| 14 |
|
|
- C++ as implementation language brings
|
| 15 |
|
|
- efficiency,
|
| 16 |
|
|
- type safety,
|
| 17 |
|
|
- algebraic syntax.
|
| 18 |
|
|
- Memory efficiency:
|
| 19 |
|
|
- Small integers and short floats are immediate,
|
| 20 |
|
|
not heap allocated.
|
| 21 |
|
|
- Automatic, non-interruptive garbage collection.
|
| 22 |
|
|
- Speed efficiency:
|
| 23 |
|
|
- Assembly language kernel for some CPUs,
|
| 24 |
|
|
- Karatsuba and Schönhage-Strassen multiplication.
|
| 25 |
|
|
- Interoperability:
|
| 26 |
|
|
- Garbage collection with no burden on
|
| 27 |
|
|
the main application,
|
| 28 |
|
|
- hooks for memory allocation and exceptions.
|
| 29 |
|
|
|
| 30 |
|
|
Requires: C++ compiler g++.
|
| 31 |
|
|
The following C++ features are used:
|
| 32 |
|
|
classes, member functions,
|
| 33 |
|
|
overloading of functions and operators,
|
| 34 |
|
|
constructors and destructors, inline, const,
|
| 35 |
|
|
multiple inheritance, templates.
|
| 36 |
|
|
The following C++ features are not used:
|
| 37 |
|
|
new, delete, virtual inheritance,
|
| 38 |
|
|
exceptions.
|
| 39 |
|
|
|
| 40 |
|
|
Homepage: http://clisp.cons.org/~haible/packages-cln.html
|
| 41 |
|
|
|