Skip to content

Releases: soveran/clac

Product and binary operations

18 Sep 07:31
Compare
Choose a tag to compare

This release adds a product function prod, along with the binary operations and, or, and xor. It also brings and updated and cusomized version of linenoise.

Improved output precision and new functions

17 Nov 15:40
47bfa8c
Compare
Choose a tag to compare

This release includes contributions by @waltertross. Below are his comments:

The output format was %g, which is equivalent to %.6g and is good for floats, but the code uses doubles, which have at least 15 digits of precision. Therefore the output format is %.15g now. The inverse trigonometric functions were missing but are important. In the example words file, the value of pi has been set to its full double precision, by taking it from math.h. The erf (error function) completes the set of useful mathematical functions that cannot be derived from other words. The erf is an important function in statistics, where it is linearly related to the normal (i.e., Gaussian) cumulative distribution function. See also the "68–95–99.7 rule".

New functions and history

18 Apr 08:56
Compare
Choose a tag to compare

This release adds factorial, logarithm and trigonometric functions, and now the history can be navigated with <C-p>/<C-n> or the <Up>/<Down> arrow keys.
the history.

Man page updated

23 Oct 02:09
Compare
Choose a tag to compare
Merge pull request #9 from srabuini/patch-1

Fix typo

Stashing

03 May 07:11
Compare
Choose a tag to compare

This release adds stashing features: you can remove items from the stack and return them when appropriate. Also new in this version is the ability to sum all the items in the stack, to push the number of items with the count command, the generic roll command for rotating elements in the stack, and some other small additions.

Custom words

20 Apr 13:10
Compare
Choose a tag to compare

This version adds support for defining custom words in a configuration file.

It also supports non-interactive invocation, which can be useful if you want to use clac from a script.

Initial release

17 Apr 14:00
Compare
Choose a tag to compare

Even though clac has been usable since it was first pushed to GitHub, it now includes more operators and better documentation. Make sure to check the README and the manual page, and create an issue if you have a suggestion or if you encounter a problem.