mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Release calc version 2.12.6.5
This commit is contained in:
14
CHANGES
14
CHANGES
@@ -1,4 +1,16 @@
|
|||||||
The following are the changes from calc version 2.12.6.1 to date:
|
The following are the changes from calc version 2.12.6.5 to date:
|
||||||
|
|
||||||
|
Fixed warning about undefined operations involving the qlink(q)
|
||||||
|
macro by deplacing 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.
|
||||||
|
|
||||||
|
|
||||||
|
The following are the changes from calc version 2.12.6.1 to 2.12.6.3:
|
||||||
|
|
||||||
Improved gen_v1(h,n) in lucas.cal to use an even faster search method.
|
Improved gen_v1(h,n) in lucas.cal to use an even faster search method.
|
||||||
|
|
||||||
|
@@ -1054,7 +1054,7 @@ EXT=
|
|||||||
|
|
||||||
# The default calc versions
|
# The default calc versions
|
||||||
#
|
#
|
||||||
VERSION= 2.12.6.4
|
VERSION= 2.12.6.5
|
||||||
|
|
||||||
# Names of shared libraries with versions
|
# Names of shared libraries with versions
|
||||||
#
|
#
|
||||||
|
@@ -10,6 +10,21 @@ NOTE: The main developers do not have access to a Windoz based platform.
|
|||||||
Of course you are welcome to send us any patches that fix your
|
Of course you are welcome to send us any patches that fix your
|
||||||
Windoz build environment.
|
Windoz build environment.
|
||||||
|
|
||||||
|
|
||||||
|
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||||
|
=-= compiling with Windows Subsystem for Linux (WSL) =-Cygwin =-=
|
||||||
|
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||||
|
|
||||||
|
It has been reported that calc version 2.12.6.4 has been successfully
|
||||||
|
compiled, installed and running on Windows 10 on 2018 Jan 21.
|
||||||
|
|
||||||
|
We were told:
|
||||||
|
|
||||||
|
"The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that
|
||||||
|
enables you to run native Linux command-line tools directly on Windows"
|
||||||
|
|
||||||
|
https://docs.microsoft.com/cs-cz/windows/wsl/about
|
||||||
|
|
||||||
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||||
=-= compiling with Cygwin =-=
|
=-= compiling with Cygwin =-=
|
||||||
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||||
|
@@ -348,7 +348,7 @@ EXT=
|
|||||||
|
|
||||||
# The default calc versions
|
# The default calc versions
|
||||||
#
|
#
|
||||||
VERSION= 2.12.6.4
|
VERSION= 2.12.6.5
|
||||||
|
|
||||||
# Names of shared libraries with versions
|
# Names of shared libraries with versions
|
||||||
#
|
#
|
||||||
|
@@ -348,7 +348,7 @@ EXT=
|
|||||||
|
|
||||||
# The default calc versions
|
# The default calc versions
|
||||||
#
|
#
|
||||||
VERSION= 2.12.6.4
|
VERSION= 2.12.6.5
|
||||||
|
|
||||||
# Names of shared libraries with versions
|
# Names of shared libraries with versions
|
||||||
#
|
#
|
||||||
|
4
qmath.h
4
qmath.h
@@ -254,7 +254,9 @@ E_FUNC NUMBER *swap_HALF_in_NUMBER(NUMBER *dest, NUMBER *src, BOOL all);
|
|||||||
#define qhighbit(q) (zhighbit((q)->num))
|
#define qhighbit(q) (zhighbit((q)->num))
|
||||||
#define qlowbit(q) (zlowbit((q)->num))
|
#define qlowbit(q) (zlowbit((q)->num))
|
||||||
#define qdivcount(q1, q2) (zdivcount((q1)->num, (q2)->num))
|
#define qdivcount(q1, q2) (zdivcount((q1)->num, (q2)->num))
|
||||||
#define qlink(q) ((q)->links++, (q))
|
/* operation on #q may be undefined, so replace with an inline-function */
|
||||||
|
/* was: #define qlink(q) ((q)->links++, (q)) */
|
||||||
|
static inline NUMBER* qlink(NUMBER* q) { if(q) { (q)->links++; } return q; }
|
||||||
|
|
||||||
#define qfree(q) {if (--((q)->links) <= 0) qfreenum(q);}
|
#define qfree(q) {if (--((q)->links) <= 0) qfreenum(q);}
|
||||||
|
|
||||||
|
@@ -45,7 +45,7 @@ static char *program;
|
|||||||
#define MAJOR_VER 2 /* major library version */
|
#define MAJOR_VER 2 /* major library version */
|
||||||
#define MINOR_VER 12 /* minor library version */
|
#define MINOR_VER 12 /* minor library version */
|
||||||
#define MAJOR_PATCH 6 /* major software level under library version */
|
#define MAJOR_PATCH 6 /* major software level under library version */
|
||||||
#define MINOR_PATCH 4 /* minor software level or 0 if not patched */
|
#define MINOR_PATCH 5 /* minor software level or 0 if not patched */
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user