AskBiography Logo   Latest News  Follow Us on Twitter  Follow Us on Google Buzz  Became Fan - Facebook  Subscribe to RSSRSS   Bookmark and Share

Class Library for Numbers

Software information
DeveloperBruno Haible and Richard B. Kreckel
Stable release1.3.2
Latest release dateMay 08, 2011(age 5)
Written inC++
Operating systemCross-platform
Available inC++
TypeMathematical software

     Home | Software | Class Library for Numbers

CLN is a free library for arbitrary precision arithmetic. It operates on signed integers, rational numbers, floating point numbers, complex numbers, modular numbers, and univariate polynomials. Its implementation programming language is C++.

CLN uses object oriented techniques and operator overloading to achieve a natural algebraic syntax: The sum x of two variables a and b is written as x=a + b, as opposed to the function sum(&x, a, b).

CLN uses class inheritance to model the natural subsets of the available number types: E.g. the integer class is a subtype of the rational class, just as the integer numbers are a subset of the rational numbers. The complex numbers and all its subtypes behave exactly like the types of numbers known to the Common Lisp language, giving CLN another meaning: it becomes an abbreviation of Common Lisp Numbers. Due to this, CLN can be and is used for implementations of Common Lisp, other interpreted languages, or computer algebra systems.

The implementation is efficient. It can be configured to use the GNU Multi-Precision Library as kernel for speed-critical inner loops and implements advanced algorithms like Schönhage Strassen multiplication, binary splitting and others. All CLN objects are either immediate or reference counted, providing for non-interruptive garbage collection with no burden on the main application.

Warning: simplexml_load_file( [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.0 410 Gone in /home/askbio/public_html/index_bio.php on line 257

Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "" in /home/askbio/public_html/index_bio.php on line 257

Fatal error: Call to a member function children() on a non-object in /home/askbio/public_html/index_bio.php on line 260