Calc is an arbitrary precision arithmetic system that uses a C-like language. It's useful as a calculator, an algorithm prototype, and as a mathematical research tool. More importantly, calc provides a machine-independent means of computation. Its features include:
- Arbitrary precision integers and floating-point, fractions and complex values
- Logarithm, numeric, trig, hyperbolic functions
- C-like syntax
- calc shell scripts, resource files, linkable program library
- User defined finctions and function loading
- Over 283 built-in functions plus hooks for built-in custom extensions
- Arrays, lists, dynamic strings, matrices, associate arrays, objects
- Numeric, relational, boolean and variable access operators
- Extensive string and binary block memory builtin functions
- Matrix inversion, determinant, and other matrix operations
- Fast and cryptographic pseudo-random numbers, cryptographic hashes
- Factoring, primality tests, pi(x), multiplicative inverse, modular exp
- Bernoulli numbers, Euler numbers, Catalan numbers
- Uses REDC, splint-point and other high speed multi-precision algorithms
- Extensive regression test suite
- Resource functions: large prime tests, factoring, quaternions, etc.
- File I/O, multi-precision printf and scanf, stdio-like functions
- GNU Readline, user & system startup scripts, Emacs-style line editing
- Online help
DocumentationUser manpages included
released on 8 February 2016
|License||Verified by||Verified on||Notes|
|LGPLv2.1||Genium||18 March 2016|
Leaders and contributors
|Ernest W. Bowen||Contributor|
|Landon Curt Noll||Maintainer|
Resources and communication
This entry (in part or in whole) was last reviewed on 18 March 2016.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.