calc: C-style arbitrary precision system / News: Recent posts

calc 2.12.6.5 release

The following are the changes in this release:

Fixed warning about undefined operations involving the qlink(q)
macro by replacing that macro with an inline-function.  Thanks goes
to David Haller <dnh at opensuse dot org> for this fix.

NOTE for Windows 10 users: Pavel Nemec <pane at seznam dot cz>
reported that calc version 2.12.6.4 has been successfully
compiled, installed and running on Windows 10.  See README.WINDOWS
for more details.... [read more](/p/calc/news/2018/01/calc-21265-release/)
Posted by (chongo) Landon Curt Noll 2018-01-29

calc 2.12.6.0 release

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:... [read more](/p/calc/news/2017/06/calc-21260-release/)
Posted by (chongo) Landon Curt Noll 2017-06-06

calc 2.12.5.6 release

The following are the changes from calc version 2.12.5.6:

Fixed a crash that showed up on Mac OS that was reported
by Richard Outerbridge <outer at interlog dot com> and
fixed by Stuart Henderson <stu at spacehopper dot org>.
Thanks goes to both!
Posted by (chongo) Landon Curt Noll 2017-05-21

calc 2.12.5.5 release

The following are the changes from calc version 2.12.5.5:

Improved the jacobi help page.

Rewrote gen_v1() in the lucas.cal resource file using the method
based on a paper:

"A note on primality tests for N = h*2^n-1", by Oystein J. Rodseth,
Department of Mathematics, University of Bergen, BIT Numerical
Mathematics. 34 (3): pp 451-454.

http://folk.uib.no/nmaoy/papers/luc.pdf

The improved gen_v1() function is capable of returning a value
for all valid values of h and n.  As a result, the trial tables
used by gen_v1() have been changed to a short list of values
to try, in order ot likelyhood of success, before doing an
enhaustive search for a v1 value to return.... [read more](/p/calc/news/2017/05/calc-21255-release/)
Posted by (chongo) Landon Curt Noll 2017-05-21

calc 2.12.5.3 release

Calc version 2.12.5.2 for Darwin (Mac OS X) users, code to installed
calc under /opt/calc.  Moreover the CHANGES file did not mention
/opt/calc.  Sorry about that!.

A much better tree for Darwin (Mac OS X) users would have been
to install cal under /opt/calc.  This release ONLY changes the Darwin
(Mac OS X) install tree to /usr/local.

Darwin (Mac OS X) users who installed calc version 2.12.5.2
should, after installing version 2.12.5.3:... [read more](/p/calc/news/2016/02/calc-21253-release/)
Posted by (chongo) Landon Curt Noll 2016-02-08

calc 2.12.5.2 release

NOTE: calc version 2.12.5.2, for Darwin (Mac OS X) users,
      installed under /opt/calc.  We neglected to mention this
      AND /usr/local would have been a better choice.  Sorry!
      Fixed in calc version 2.12.5.3.

Removed rules and makefile variables assocated with shortened
calc version numbers of less than 4 levels.

Under OS X (darwin), if /usr/include is missing, warnings
are issued to help the user use xcode-select --install
so that one may properly compile C code.... [read more](/p/calc/news/2016/02/calc-21252-release/)
Posted by (chongo) Landon Curt Noll 2016-02-08

calc 2.12.5.1 release

Calc has a new calc-tester mailing list.  This list is for those
who are using/testing calc.  We also use this list to announce
new versions of calc.  To subscribe to the calc-tester mailing
list, visit the following URL:

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

    This is a low volume moderated mailing list.

    This mailing list replaces calc-tester at asthe dot com list.... [read more](/p/calc/news/2016/02/calc-21251-release/)
Posted by (chongo) Landon Curt Noll 2016-02-08

calc 2.12.5.0 release

For Apple OS X / Darwin target:

    MACOSX_DEPLOYMENT_TARGET is no longer defined
    using clang compiler

    By default, -install-name is used when forming shared libs.
    To force -install-name to not be used, set SET_INSTALL_NAME=no.

The have_stdvs.c test uses <stdlib.h> and fixed va_start() test call
that didn't use last arg.

Fixed math_fmt (printf) in value.c where a LEN (SB32) be printed as %d.... [read more](/p/calc/news/2016/02/calc-21250-release/)
Posted by (chongo) Landon Curt Noll 2016-02-08

calc 2.12.4.10 release

The following are the major changes in this release and the previous release:

Added a number of calc resource files by
Christoph Zurnieden <czurnieden at gmx dot de> including:

* bernpoly.cal - Computes the nth Bernoulli polynomial at z for any n,z
* brentsolve.cal - root-finder implementwed with the Brent-Dekker trick
* factorial.cal - product of the positive integers
* factorial2.cal - variety of integer functions quasi-related to factoral
* lambertw.cal - Computes Lambert's W-function at "z" at branch "branch"
* lnseries.cal - Calculates a series of natural logarithms at 1,2,3,4...n
* specialfunctions.cal - Calculates the value of the beta function
* statistics.cal - a wide vareity of stastical functions
* toomcook.cal - Multiply by way of the Toom-Cook algorithm
* zeta2.cal - Calculate the value of the Hurwitz Zeta function... [read more](/p/calc/news/2013/08/calc-212410-release/)
Posted by (chongo) Landon Curt Noll 2013-08-11

calc 2.12.4.9 release

The following are the changes in this release:

Fixed typo in redeclaration warnings.  Thanks to
Christoph Zurnieden <czurnieden at gmx dot de> for this report.

Added a number of calc resource functions by
Christoph Zurnieden <czurnieden at gmx dot de> including:

* bernpoly.cal - Computes the nth Bernoulli polynomial at z for any n,z
* brentsolve.cal - root-finder implementwed with the Brent-Dekker trick
* factorial.cal - product of the positive integers
* factorial2.cal - variety of integer functions quasi-related to factoral
* lambertw.cal - Computes Lambert's W-function at "z" at branch "branch"
* lnseries.cal - Calculates a series of natural logarithms at 1,2,3,4...n
* specialfunctions.cal - Calculates the value of the beta function
* statistics.cal - a wide vareity of stastical functions
* toomcook.cal - Multiply by way of the Toom-Cook algorithm
* zeta2.cal - Calculate the value of the Hurwitz Zeta function... [read more](/p/calc/news/2013/08/calc-21249-release/)
Posted by (chongo) Landon Curt Noll 2013-08-11

calc 2.12.4.8 release

Major update to the way rpms are built.

Libraries are chmodded as 0644 to allow for building rpms without root.

Added gvec.cal resource script.

Fixed bug was uncovered in calc that caused script failures when calc
is called within a while loop in BASH if the while loop is fed from
stdin due to calc's redirection/inheritance of stdin and no option
to change this behavior.

For additional details, see: http://www.isthe.com/chongo/src/calc/CHANGES

Posted by (chongo) Landon Curt Noll 2013-05-19

calc 2.12.4 release

Fixed a bug where calling functions with different values of epsilon would return incorrect results.

Fixed a bug were certain typos in interactive mode would cause calc to exit.

Fixed a bug in solve.cal.

Make minor documentation improvements.

Improved the Makefile / build process.

See:

http://www.isthe.com/chongo/src/calc/CHANGES

for details.

Posted by (chongo) Landon Curt Noll 2008-10-24

calc 2.12.3.3 release

Mac OS Darwin targets no longer attempt to use ldconfig.
"make debug" has been fixed by removing the use of rpm.release.
An empty custom include directory is not removed during installation.
"make clobber" has been fixed by rebuilding custom/Makefile.

See:

http://www.isthe.com/chongo/src/calc/CHANGES

for details.

Posted by (chongo) Landon Curt Noll 2008-05-10

calc 2.12.3.0 release

Fixed the Jacobi built in function where it returned 1 in some cases where it should have returned 0.

Added OpenBSD build target.

Makefile compatibility fixes for old shells.

Posted by (chongo) Landon Curt Noll 2008-02-24

calc 2.12.2.2 release

Fixed the wording for the -i flag in the calc man page.

Updated help/unexpected, help/rand, help/random, and
help/config.

Split out ${READLINE_EXTRAS} Makefile variables from
${READLINE_LIB} for Fedora rpm requirements.

When the Makefile variable ${ALLOW_CUSTOM} is not defined
or empty, the libcustcalc library is not built.

Bit 8 (0x80) of calc_debug is reserved for custom debugging.

Fixed the length of a FILEPOS copy.... read more

Posted by (chongo) Landon Curt Noll 2007-10-16

calc 2.12.1.8 release

Documentation of # operator, comments, and cscripts.

Documented multi-line statement issues.

Added builtins related to user, system and clock time.

Changed runtime() builtin output.

See:

http://www.isthe.com/chongo/src/calc/CHANGES

for details.

Posted by (chongo) Landon Curt Noll 2007-02-07

calc 2.12.1.5 release

This is a very minor update release to allow OpenBSD-like make parsers to compile the source.

This is also a minor release to fix an issue under OS X where the make chk (and make check) regression awk script did not run correctly under OS X 10.4.7.

Fixed a few minor variables that were not set to default
values in lower level Makefiles.

For the 2.12.1 changes see:

https://sourceforge.net/forum/forum.php?forum_id=611805

Posted by (chongo) Landon Curt Noll 2006-09-18

calc 2.12.1 release

NOTE: Below is a somewhat abbreviated list of changes. See:

http://www.isthe.com/chongo/src/calc/CHANGES

full details of these changes.

* The fixed a syntax error in the ellip.cal calc resource file.

* Comments using # followed by a !, newline or another # now work.

* Improved the "show builtins" display.

* The str functions, such as strcpy(s1, s2), will now copy as many
characters as possible from s2 to s1, treating '\0' like any other
character until the end of s2 is reached. If s2 is shorter than s1,
a '\0' is inserted.... read more

Posted by (chongo) Landon Curt Noll 2006-09-17

calc 2.11.11 release

* Fixed problem where historic complex function names
conflicted with new standard ANSI C functions
* Misc changes to the man page and some help files
* Noted in Makefile how OS X can compile calc

See:

http://www.isthe.com/chongo/src/calc/CHANGES

for details.

Posted by (chongo) Landon Curt Noll 2005-12-12

calc 2.11.10.1 release

Fixed bug in the evaluation of exp(6).
Fixed documentation relating to the use of -f in calc's "shell script mode".

See:

http://www.isthe.com/chongo/src/calc/CHANGES

for details.

Posted by (chongo) Landon Curt Noll 2004-10-23

calc 2.11.10 release

Changes to better support compiling under cygwin. Improved custom function support including the addition the pmodm127 example as well as adding config("compile_custom") and config("allow_custom") calls. Fixed config state hashing. Fixed document typos. Added missing display help file. Fixed calc -d to disable printing of the leading ~. Fixed some compile warnings reported under OS X.

Posted by (chongo) Landon Curt Noll 2004-09-01

calc 2.11.9.3 release

Fixed a bug related to post incrementing. Fixed regression failures related to compiling under cygwin. Fixed a number of gcc compiler warnings. Changed default compile options.

See:

http://www.isthe.com/chongo/src/calc/CHANGES

for details.

Posted by (chongo) Landon Curt Noll 2004-02-23

calc 2.11.9.2 release

Fixed a bug related to post incrementing. Fixed regression failures related to compiling under cygwin. Fixed a number of gcc compiler warnings. Changed default compile options.

See:

http://www.isthe.com/chongo/src/calc/CHANGES

for details.

Posted by (chongo) Landon Curt Noll 2004-02-23

calc 2.11.8.1 release

Calc v2.11.8.1:

Fixed a bug in the evaluation of tanh(1e-23) with an epsilon(1e-100).

See:

http://www.isthe.com/chongo/src/calc/CHANGES

for details.

Posted by (chongo) Landon Curt Noll 2003-08-26

calc 2.11.8 release

The 2.11.8 release of calc addresses a change in the default calc configuration, some RPM documentation and a slight CPU improvement in the hash code.

See:

http://www.isthe.com/chongo/src/calc/CHANGES

for details.

Posted by (chongo) Landon Curt Noll 2003-06-10