From 3ec7b393669e041f2960db7012bc57f7c85f76e2 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Fri, 21 Jul 2023 23:22:20 -0700 Subject: [PATCH] Release v2.14.2.0 The following are the changes in this release: Ported calc to the s390x IBM Mainframe running RHEL9.1. Added cal/splitbits.cal: splitbits(x, b) Given an integer x, split the value into a list of integers, each of which is at most b bits long. The value b must be an integer > 0. The number of elements in the returned list is: ceil((highbit(x) + 1) / b) If x == 0, then a list of 1 element containing 0 is returned. If x < 0, then the two's compliment of abs(x) is returned. Even though calc represents negative integers as positive values with sign bit, the bits returned by this function are as if the integer converted as if the integer was a two's compliment value. See also the help command: ; help resource --- Makefile | 2 +- Makefile.simple | 2 +- custom/Makefile | 2 +- custom/Makefile.simple | 2 +- version.c | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 61ca8cf..8ee1020 100644 --- a/Makefile +++ b/Makefile @@ -1381,7 +1381,7 @@ EXT= # The default calc versions # -VERSION= 2.14.1.6 +VERSION= 2.14.2.0 # Names of shared libraries with versions # diff --git a/Makefile.simple b/Makefile.simple index 11fbf8e..c542f7a 100644 --- a/Makefile.simple +++ b/Makefile.simple @@ -1239,7 +1239,7 @@ EXT= # The default calc versions # -VERSION= 2.14.1.6 +VERSION= 2.14.2.0 # Names of shared libraries with versions # diff --git a/custom/Makefile b/custom/Makefile index 66bf214..749160c 100644 --- a/custom/Makefile +++ b/custom/Makefile @@ -475,7 +475,7 @@ EXT= # The default calc versions # -VERSION= 2.14.1.6 +VERSION= 2.14.2.0 # Names of shared libraries with versions # diff --git a/custom/Makefile.simple b/custom/Makefile.simple index 2658493..a6905ed 100644 --- a/custom/Makefile.simple +++ b/custom/Makefile.simple @@ -445,7 +445,7 @@ EXT= # The default calc versions # -VERSION= 2.14.1.6 +VERSION= 2.14.2.0 # Names of shared libraries with versions # diff --git a/version.c b/version.c index cc9f5d3..3fa2441 100644 --- a/version.c +++ b/version.c @@ -83,8 +83,8 @@ static char *program; */ #define MAJOR_VER 2 /* major library version */ #define MINOR_VER 14 /* minor library version */ -#define MAJOR_PATCH 1 /* major software version level */ -#define MINOR_PATCH 6 /* minor software version level */ +#define MAJOR_PATCH 2 /* major software version level */ +#define MINOR_PATCH 0 /* minor software version level */ /*