Skip to content

Releases: lcn2/calc

calc 2.12.6.4 release

16 Jan 23:47
Compare
Choose a tag to compare
calc 2.12.6.4 release Pre-release
Pre-release

The following are the changes in this release:

Fixed a man page warning about ./myfile where the leading dot
was mistook for an nroff macro.  Thanks goes to David Haller
<dnh at opensuse dot org> for providing the patch.

Improved gen_v1(h,n) in lucas.cal for cases where h is not a
multiple of 3. Optimized the search for v(1) when h is a
multiple of 3.

Fixed a Makefile problem, reported by Doug Hays <doughays6 at gmail
dot com>, where if a macOS user set BINDIR, LIBDIR, CALC_SHAREDIR
or INCDIR in the top section, their values will be overwritten by
the Darwin specific section.

calc 2.12.6.3 release

07 Sep 01:23
Compare
Choose a tag to compare
calc 2.12.6.3 release Pre-release
Pre-release

The following are the changes in this release:

Improved gen_v1(h,n) in lucas.cal to use an even faster search method.

Improved are checking in lucas.cal.  In particular both h and n must be
integers >= 1.  In the case of both rodseth_xhn(x, h, n) and gen_v1(h, n)
h must be odd.

Fixed an C code indenting issue that was reported by Thomas Walter
<th dot walter42 at gmx dot de> in zfunc.c.

calc 2.12.6.2 release

07 Sep 00:55
Compare
Choose a tag to compare
calc 2.12.6.2 release Pre-release
Pre-release

The following are the changes in this release:

Improved gen_v1(h,n) in lucas.cal to use an even faster search method.

Improved are checking in lucas.cal.  In particular both h and n must be
integers >= 1.  In the case of both rodseth_xhn(x, h, n) and gen_v1(h, n)
h must be odd.

Fixed an C code indenting issue that was reported by Thomas Walter
<th dot walter42 at gmx dot de> in zfunc.c.

calc 2.12.6.1 release

14 Jun 23:38
Compare
Choose a tag to compare
calc 2.12.6.1 release Pre-release
Pre-release

The following are the changes in this release:

Improved gen_v1(h,n) in lucas.cal to use an even faster search method.

Improved are checking in lucas.cal.  In particular both h and n must be
integers >= 1.  In the case of both rodseth_xhn(x, h, n) and gen_v1(h, n)
h must be odd.

calc 2.12.6.0 release

06 Jun 03:14
Compare
Choose a tag to compare

The following are the changes in this release:

Added the makefile variable ${COMMON_ADD} that will add flags
to all compile and link commands. The ${COMMON_ADD} flags are
appended to both ${COMMON_CFLAGS} and ${COMMON_LDFLAGS}.  This
facility is available to nearly all platforms except those with
very old make commands that do not understand the += operator.

Example on macOS (Darwin), one may invoke clang's -fsanitize
facility by:

make clobber all \
  COMMON_ADD='-fsanitize=undefined -fsanitize=address'

Another example.  To force C warnings to be treated as errors:

make COMMON_ADD='-Werror'

Created a GitHub repository for calc:

https://github.com/lcn2/calc

NOTE: The calc GitHub repository represents the an active
  development stream.  While an effort will be made to keep
  the master branch of the calc GitHub repository in working
  order, that tree may be unstable.  Those wishing for more
  reliable releases use releases found at calc mirror sites:

    http://www.isthe.com/chongo/tech/comp/calc/calc-mirror.html

IMPORTANT NOTE:

On 2017 June 05, the calc GitHub history was re-written.
Anyone who was tracking the calc "pre-release" on GitHub prior
to version 2.12.6.0 should do a:

    git reset --hard origin/master
    git cleanup -f

Or you may just want to start over:

    rm -rf calc
    git clone https://github.com/lcn2/calc.git

Sorry about that.  The previous GitHub repository was an useful
experiment.  Based on what we learned, we decided to rebuild it.

Renamed README to README.FIRST.  Added README.md for the
GitHub repository.

Fixed reading from standard input (stdin) when -p is given on
the command line.  This now prints hello:

echo hello | calc -p 'stdin = files(0); print fgetline(stdin);'

Added more debugging related to stdin when bit 4 of calc_debug
is set (e.g., running calc with -D16).

Updated the calc(1) man page and 'help file' to explain about
reading from standard input (stdin).

Added some clarifying remarks for 'help ptest' explaining that
the ptest builtin can return 1 is some cases where the test
value is a pseudoprime.

Removed duplicate copyright comments from the help/builtin that
is built.

Fixed a number of typos in the CHANGES file.