-
Github suggested your project to me. I'm currently using GNU bc. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Calc is a C-like language with a rich command line as well as interactive interface. Calc competes files internally as rational numbers a/b, or and complex rational values. So:
will give you a few digits of the value of the square root of 2. If you wish to see more digits, you can extend the number of digits displayed we well an the precision (called epsilon):
Most functions take an epsilon argument. See:
You can set the global epsilon, so if you want 1000 digits of precision:
Calc understands complex numbers, so the log of 3 * sqrt(-1):
You can set values in your own calc start fille (usually ~/.calcrc). See:
Calc as lists, arrays, associative arrays, lists, list, user defined data types, etc. Calc as a custom facility for people to compile in their own custom functions. A number of supercomputers with special hardware use calc via the custom interface. You can compile your own C code that can link to and use the calc library. See Like bc, calc is "free as in beer". Calc is shipped under LGPL v2 so you can use, give away, add, ship, sell or give away calc as you wish as long as others can do the same. Calc has has been around since 1984. We accept code contributions:
Share and enjoy! :-) |
Beta Was this translation helpful? Give feedback.
-
Calc as a fish set of FILE I/O operations, unlike bc. See:
One may set the output base to a number of different baes:
You can configure and customize calc as well:
Calc comes with lots of bulletin functions:
To find out about a given bulletin functions, such as append or random or ssq:
While calc may have inspires of the Unix v7 |
Beta Was this translation helpful? Give feedback.
Calc is a C-like language with a rich command line as well as interactive interface.
Calc competes files internally as rational numbers a/b, or and complex rational values.
So:
will give you a few digits of the value of the square root of 2.
If you wish to see more digits, you can extend the number of digits displayed we well an the precision (called epsilon):
Most functions take an epsilon argument. See:
You can set the global epsilon, so if you want 1000 digits of precision: