Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

calc-2.16.1.2-1.1 RPM for riscv64

From OpenSuSE Ports Tumbleweed for riscv64

Name: calc Distribution: openSUSE Tumbleweed
Version: 2.16.1.2 Vendor: openSUSE
Release: 1.1 Build date: Tue Jan 20 11:03:09 2026
Group: Productivity/Scientific/Math Build host: reproducible
Size: 4140882 Source RPM: calc-2.16.1.2-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: http://www.isthe.com/chongo/tech/comp/calc/index.html
Summary: C-style arbitrary precision calculator
Calc is arbitrary precision C-like arithmetic system that is a
calculator, an algorithm prototype and mathematical research tool.
Calc comes with a rich set of builtin mathematical and programmatic
functions.

Provides

Requires

License

LGPL-2.1-only

Changelog

* Tue Jan 20 2026 Michael Vetter <mvetter@suse.com>
  - Update to 2.16.1.2:
    * Fixed a bug where the calc command history was not being properly
      saved in the history file.  Thanks go to the GitHub user @Vekhir
      for both reporting this problem and helping come up with a solution.
    * Per request, we expanded number of entries to save from 1024 to 4096.
* Tue Jan 20 2026 Michael Vetter <mvetter@suse.com>
  - Update to 2.16.1.1:
    * Fix compiler warning for `custom/u_pfe.c`.
    * Update the `ARCH_CFLAGS` make symbol comments in `Makefile.config`.
    * Add `ARCH_CFLAGS` to `COMMON_CFLAGS` in `Makefile.config`.
    * Add "RHEL (Linux) Address Sanitizer (ASAN) for i686" commented out
      section to `Makefile.local`.
    * Improve comments in `Makefile.local` related to "Address Sanitizer (ASAN)".
    * Add `junk4200` to `.gitignore`.
    * Use `-${Q}` instead of `-@` while build hsrc files in `Makefile`.
    * Fix `pseudo_seed()` in `seed.c` to handle 32-bit architectures.
    * Fixed `reopenid()` in `file.c` to handle 32-bit architectures and
      to avoid "glibc detected an invalid stdio handle" using `freopen(3)`.
    * Fixed bug in `c_power()` in `comfunc.c` that caused 32-bit
      architectures to dump core.
    * Fixed bug in `zrandom()` in `zrandom.c` where results from a
      Blum-Blum-Shub operation were incorrectly copied into a ZVALUE
      for 32-bit architectures.
    * Fixed comment typo in `cal/regress.cal` before test 5305.
* Tue Jan 20 2026 Michael Vetter <mvetter@suse.com>
  - Update to 2.16.1.0:
    * Added a new `.clang-format` file as the basis for using the
      `clang-format(1)` tool to format calc source in a consistent way.
      This code re-formatting will make it easier to work in calc v3 code
      changes in the future by making the calc source much more consistent.
    * Removed `.clang-format` exclusion from `.gitignore`.
    * Modified `func.c` to prevent the `clang-format(1)` tool from formatting
      the `builtins[]` table that builtin make rule in `help/Makefile` uses to
      format the `help/builtin` file.  We can live with the `builtins[]`
      table as it is today, for now.
    * Add `make clang-format` make rule to top level `Makefile` and
      to the `custom/Makefile`.
    * Reformatted C code as per the `clang-format(1)` and the
      `.clang-format` file: using the `make clang-format` make rule.
* Tue Jan 20 2026 Michael Vetter <mvetter@suse.com>
  - Update to 2.16.0.3:
    * The segmentation fault as reported in issue #174 has been fixed.
      When the `powervalue()` function was expanded to (in `value.c`), to
      process complex powers, the author forgot that the function `c_power()`
      returns NULL when the result is too large to represent in memory.  Now,
      when `c_power()` returns NULL within the `powervalue()` function, the
      `E_POWER_4` math error ("Too-large value for power") will be raised.
      Thanks go to the GitHub user @mengrj for reporting this problem
      in issue #174 in a clear and concise way such that we were able
      to fix this problem.
    * Reduced `MAXCMD` (maximum length of command invocation) in `calv.h`
      from 16384 to 5120.  On most systems, commands longer than 5.6k would
      hit the soft stack size limit and trigger a stack overflow condition
      causing calc to crash with a SIGSEGV (segmentation violation).
    * If you need a super-long calc commands, consider increasing
    * the `MAXCMD` value in `calc.h`, and increase the stack size
    * limits for your calc run.  For example under Linux to increase
    * the maximum stack size to 2^28 bytes:
      prlimit --stack=268435456 calc
      or:
      ulimit -s 49152
      calc
    * Resolved, as much we can, issue #175.
    * Recommend `-fstack-protector-all` in `Makefile.local` comments.
    * Fixed signed integer overflow in `c_power()`.
    * The `c_power(COMPLEX *c1, COMPLEX *c2, NUMBER *epsilon)` function in
      `comfunc.c` no longer triggers a signed integer overflow.
    * Added `qqbitvalue(NUMBER pos)` to `qmarth.c`: like `qbitvalue(long n)`
      but with a NUMBER arg, and will return NULL if the shifted bit is too
      large to hold in memory.
    * Added `zzbitvalue(ZVALUE pos, ZVALUE *res)`: similar to the
      `zbitvalue(long n, ZVALUE *res)` function but with a `ZVALUE` arg,
      and returns a boolean, and does not call math_error().
    * Added `ZVALUE _baseb_` to hold the `BASEB` as a `ZVALUE`.
    * Added `MAXDATA_LOG2` to hold the log base 2 value of `MAXDATA`.
    * Added `MAXLEN_LOG2` to hold the log base 2 value of `MAXLEN`.
    * Added `HALF_BITS` as an alias for `BASEB`.
    * Added to `cal/regress.cal`, regression test 9758 to test for
      the condition that issue #174 was about.
    * Improved the Common Address Sanitizer (ASAN) comments in
      `Makefile.config` and `Makefile.local`.
    * Resolved issue #176.
* Tue Jan 20 2026 Michael Vetter <mvetter@suse.com>
  - Update to 2.16.0.2:
    * Fixed bug, when custom functions were enabled, where returning a
      value from the sysinfo custom function such as:
      custom("sysinfo","DEFAULTSHELL")
      would cause a segmentation violation due to an improper `free(3)`.
    * Fixed a memory leak that was related to the sysinfo custom function.
    * Added paranoia checks on shell value when processing commands
      read from the tty that start with the "!" character.
    * Improved code that converts between UPPER CASE and lower case.
    * Verify that the default underlying shell defaults to the shell
      as given by the `$SHELL` environment variable if that environment
      variable is set and is NOT empty, otherwise the `DEFAULTSHELL`
      (as defined in `calc.h`) value will be used as the underlying shell.
    * Fixed memory leaks related to various environment variable values
      used by calc code.  All various environment variable values used
      used by calc code are processed by `strdup(3)`.
    * The `libcalc_call_me_last()` function frees any non-NULL values set
      by `initenv()`.
    * If the readline tilde_expand fails to expand "~/.calc_history",
      then ".calc_history" will be used as the name of the history file.
    * Added HIST_NULL_HIST code to indicate that name of the history file
      could not be set.
* Tue Jan 20 2026 Michael Vetter <mvetter@suse.com>
  - Update to 2.16.0.1:
    * Adding support for "pipe/fork/exec and friends" via custom functions
    * We to address a bug after adding support for pipe/fork/exec (and
      friends) via custom functions
* Mon Aug 18 2025 Michael Vetter <mvetter@suse.com>
  - Update to 2.16.0.0:
    * Starting with calc version 2.16.0.0, the ability to perform arithmetic
      on addresses of values in calc objects has been greatly restricted.
    * Most arithmetic on of value addresses could easily cause calc to
      crash.  For example, prior to calc version 2.16.0.0, the following
      command was likely to crash calc: calc '*((&.)+1e9)'
    * Subtracting two value addresses is permitted, however there is NO
      guarantee that the address of a value will remain consistent across
      calc runs.  Addresses of values depend on the circumstances of when
      the calc values were formed.
    * The above restrictions and caveats apply to addresses of values.
      Such restrictions and caveats to NOT apply to the addresses of
      octets, NOR to the addresses within strings.  If isptr(x) == 2, then
      x is value-pointer and the above mentioned restrictions and caveats apply.
    * See "help address" for more information on value address arithmetic.
    * Added E_INVALID_DEREF (10610) error code to indicate the invalid
      dereferencing a non-variable.
    * Added E_INVALID_ADDR_OP (10611) error code to indicate an invalid
      arithmetic address operation.
* Thu Aug 14 2025 Michael Vetter <mvetter@suse.com>
  - Update to 2.15.1.2:
    * Removed use of HAVE_MEMMOVE as well have_memmv.c.
    * Removed the building and including of have_memmv.h.
    * Removed the memmove() function in blkcpy.c, used when HAVE_MEMMOVE was NOT defined.
    * The libc memmove(3) function as defined by <string.h> is now
      required to compile calc because the replacement code in
      blkcpy.c q was problematic, especially when regions overlap.
    * The HAVE_MEMMOVE make symbol was removed from Makefile.config.
* Fri Apr 25 2025 Michael Vetter <mvetter@suse.com>
  - Update to 2.15.1.1:
    * Change Makefile.config to, if not using not HomeBrew, then try to
      detect macports and/or using /opt/local/{lib,include}.
    * Put full date range (1989-2025) of calc source into version.h.
* Mon Nov 18 2024 Dominique Leuenberger <dimstar@opensuse.org>
  - Workaorund %attr(644…) setting this attribute also on the doc
    directory if this is the first statement to copy docs over. The
    intention was clearly to set the files non-executable. Simply
    letting RPM copy the correct doc files first, using default
    attributes, results in the doc-dir having proper access modes.
* Fri Jul 12 2024 Michael Vetter <mvetter@suse.com>
  - Update to 2.15.1.0:
    * Converted all ASCII tabs to ASCII spaces using a 8 character
      tab stop, for all files, except for all Makefiles (plus rpm.mk).
      The command `git diff -w` reports no changes.  There is no
      functionality change in calc: only ASCII tabs to ASCII spaces.
    * Fixed trailblank.  It was pruning . in its find search.
    * Added check for ASCII tabs is non-Makefiles.
    * This version will form the basis for the calc v2 to calc v3 fork.
* Wed May 29 2024 Michael Vetter <mvetter@suse.com>
  - Update to 2.15.0.7:
    Fix bug regarding log2(x) #148
* Tue Feb 13 2024 Michael Vetter <mvetter@suse.com>
  - Update to 2.15.0.6:
    * A long standing memory leak in zrandom.c has been fixed.
* Fri Feb 02 2024 Michael Vetter <mvetter@suse.com>
  - Update to 2.15.0.5:
    * make clobber now removes the legacy files: have_fpos.h, help/man,
      and help/usage.  The latter 2 are now managed as help aliases
      in help.c.
    * make install now removes the legacy files: ${HELPDIR}/man
      and ${HELPDIR}/usage.
    * Fixed a problem where, when calc was linked with and uses GNU
      readline then for any multi-line copy-and-paste, only the first
      line is executed.  Thanks to GitHub user @malfisya for reporting
      this problem, and thanks to GitHub user @gromit1811 for doing
      the research needed to overcome deficiencies in the GNU readline
      documentation, and for supplying the work-a-round to allow
      multi-line copy-and-paste to work as expected!
* Fri Dec 22 2023 Michael Vetter <mvetter@suse.com>
  - Update to 2.15.0.4:
    * Fixed bug that caused calc to fail to compile filepos2z() in file.c
    on little endian machines for the Debian apcalc package.
    * Removed unused macros from zmath.h:
      + SWAP_B32_IN_HASH(dest, src)
      + SWAP_B16_IN_HASH(dest, src)
      + SWAP_B8_IN_HASH(dest, src)
      + SWAP_B32_IN_FLAG(dest, src)
      + SWAP_B16_IN_FLAG(dest, src)
      + SWAP_B8_IN_FLAG(dest, src)
    * When SWAP_HALF_IN_B32(dest, src), SWAP_B32_IN_FULL(dest, src),
      SWAP_B16_IN_HALF(dest, src), SWAP_B32_IN_bool(dest, src),
      or SWAP_B32_IN_LEN(dest, src), SWAP_HALF_IN_FILEPOS(dest, src)
      is an assignment such as:
      (*(dest) = *(src))
      We now case the dest and src pointers to the proper type before
      referencing and performing the assignment.
    * Documented unexpected behavior when calc is running in
      "shell script mode" and the prompt builtin function is used
      without the -p flag.  Updated help/prompt, help/unexpected
      and the calc man page accordingly.
    * Unless calc is given the -p command line option, calc will reopen
      stdin as /dev/null instead of just closing stdin.  This prevents
      subsequent opens grabbing the 1st file descriptor.
    * Disable regress tests 4709, 4710, and 7763 because they print
      multi-byte sequences, which are just fine for calc, the awk
      used to evaluate the regression suite output in some legacy
      systems report a "multibyte conversion failure".
    * Added a number of missing Makefile variables to the "make env" rule.
    * The man command is used to format the calc.1 man page into calc.usage.
    * The "help calc" command now prints the formatted calc man page (calc.usage).
    * The "help man" command now prints the formatted calc man page (calc.usage).
    * The "help usage" command now prints the formatted calc man page (calc.usage).
    * The file, calc.cat1, is formed by gzipping the calc.usage
      formatted man page.  The calc.cat1 is installed as the calc
      cat section 1 man page.
    * Avoiding use of modern [[ and ]] in Makefile for those legacy systems
      whose shell do not support them.  Be sure to use ||'s between []'s
      to avoid problems with legacy shell such as the Bourne shell. *sigh*
    * Fixed the order of "help full" to match the order of topics listed
      buy the "help help" command.
    * Sorted the halias[] help topics table in help.c using sort -d -u.
* Sun Dec 10 2023 Michael Vetter <mvetter@suse.com>
  - Update to 2.15.0.2:
    * Added ${FSANITIZE} make variable to Makefile.config to hold
      common Address Sanitizer (ASAN) optins to modern Linux and macOS.
      The Address Sanitizer is NOT enabled not compiled in by default.
      Improved comments in Makefile.local for RHEL9.2 (Linux) and for
      macOS 14.0 that, when uncommented and calc is recompiled (i.e.,
      make clobber all) will enable the Address Sanitizer (ASAN) for calc.
    * Fixed memory leaks in the logn, aversin, acoversin, avercos,
      acovercos, ahaversin, ahavercos, ahacovercos, aexsec,
      aexcsc, and acrd.
    * Fixed a compile error in zmath.h that impacted legacy 32-bit Big
      Endian machines.
    * Fixed the check for <sys/mount.h> when forming have_sys_mount.h.
    * Added "STATIC bool blum_initialized = false" to zrandom.c to improve
      how the code detects if the Blum-Blum-Shub pseudo-random number
      generator is seeded or not, and how to free the state correctly.
* Thu Oct 05 2023 Michael Vetter <mvetter@suse.com>
  - Update to 2.15.0.1:
    * The tarball for calc version 2.15.0.0 was missing version.h.
      The version.h is now listed as part of the calc distribution.
      See gh/lcn2/calc#112
* Wed Oct 04 2023 Michael Vetter <mvetter@suse.com>
  - Update to 2.15.0.0:
    * Added the several new trigonometric functions
    * Added log2(x [,eps]) builtin function
    * The sign element in a ZVALUE is now of type SIGN, which is either
      SB32 when MAJOR_VER < 3, or a bool otherwise
    * Added new logn(x, n [,eps]) builtin to compute logarithms to base n.
  - Add calc-2.15.0.0-versionh.patch to fix build
    See gh/lcn2/calc#112
* Fri Aug 18 2023 Michael Vetter <mvetter@suse.com>
  - Update to 2.14.3.5:
    * Under macOS, to reduce dependency chains, we remove functions
      and data that are unreachable by the entry point or exported
      symbols.  In particular, the macOS linker is used with both
      "-dead_strip" and "-dead_strip_dylibs".
    * The libcalc shared library is now linked with libcustcalc.
* Tue Aug 15 2023 Michael Vetter <mvetter@suse.com>
  - Update to 2.14.3.4:
    * Fix typo in the make debug Makefile rule.
    * Fix install of statically linked calc under macOS
    * Update comments in Makefile.local about using -fsanitize
    * Add Makefile.local comments for macOS reduce dependency chains
    * Fix calc when CUSTOM is undefined, remove PASSDOWN values
    * Fix use of -dead_strip_dylibs for macOS linker
* Thu Aug 03 2023 Michael Vetter <mvetter@suse.com>
  - Update to 2.14.3.0:
    * The Darwin specific ${DARWIN_ARCH}, thay by default was unset,
      is now the ${ARCH_CFLAGS} Makefile variable.  Comments about
      various "-arch name" have been moved to the ${ARCH_CFLAGS} area.
    * Improved the output of the calcinfo rule by adding echos
      of various uname values as well as some top Makefile variables.
    * Fixed the BUGS file with respect to using `make debug`.
    * Added a final ls of `debug.out` for `make debug`.
* Mon Jul 31 2023 Michael Vetter <mvetter@suse.com>
  - Update to 2.14.2.2:
    * Removed references to obsolete Email addresses.
    * macOS Darwin defaults LCC to "cc".
* Thu Jul 27 2023 Michael Vetter <mvetter@suse.com>
  - Update to 2.14.2.1:
    * Added cal/fnv_tool.cal, a calc resource file defining:
      find_fnv_prime(bits)
      deprecated_fnv0(bits,fnv_prime,string)
      fnv_offset_basis(bits,fnv_prime)
      fnv1a_style_hash(bits,fnv_prime,prev_hash,string)
    * Fixed sorted order of cal/README.
* Sat Jul 22 2023 Sarah Kriesch <sarah.kriesch@opensuse.org>
  - Update to 2.14.2.0:
    * Ported calc to the s390x IBM Mainframe
* Thu Jun 01 2023 Michael Vetter <mvetter@suse.com>
  - Update to 2.14.1.6:
    * Fixed version numbers in two cases in CHANGES that referred
      to the 2.14.2.x instead of 2.14.1.x.
    * Rename MINGW Makefile variable (a holdover from MINGW32_NT-5.0)
      to OSNAME.
    * Fixed FUNCPTR typedef in hist.c to fix deprecated compiler warnings.
    * Fixed when USE_READLINE, READLINE_LIB, READLINE_EXTRAS, and
      READLINE_INCLUDE are set to empty (disable use of the GNU-readline
      facility).
    * Fix cases of spaces before tabs in Makefile and Makefile.simple.
    * Fixed obsolete references to the atoz() in LIBRARY to use the
      correct internal function name of str2z().
    * Fixed obsolete references to the atoq() in LIBRARY to use the
      correct internal function name of str2q().
    * Document in help/unexpected that * operator has has a higher
      precedence than << in calc, which differs from C.
* Tue Mar 14 2023 Paolo Stivanin <info@paolostivanin.com>
  - Update to 2.14.1.5:
    * Fixed FUNCPTR typedef in hist.c to fix deprecated compiler warnings.
    * Fixed when USE_READLINE, READLINE_LIB, READLINE_EXTRAS, and
      READLINE_INCLUDE are set to empty (disable use of the GNU-readline
      facility).
* Wed Feb 15 2023 Michael Vetter <mvetter@suse.com>
  - Update to 2.14.1.3:
    * Fixed missing <string.h include in have_fpos_pos.c.
    * Change calc version from 2.14.1.2 to 2.14.2.3 as part of a test to
      build calc RPMs on a reference RHEL8.7 platform (formerly a RHEL7.9
      platform).
* Thu Dec 01 2022 Michael Vetter <mvetter@suse.com>
  - Update to 2.14.1.2:
    * Restored use of the #define FPOS_POS_LEN symbol.  This refers to
      the length of the __pos element (if the __pos element exists),
      the fpos_t type (if that type exists).
    * Changed SWAP_HALF_IN_FILEPOS(dest, src) mato to use FILEPOS_LEN Little
      Endian when FILEPOS is a simple scalar type (i.e., HAVE_FILEPOS_SCALAR
      is defined).
    * Changed #define HAVE_FPOS to HAVE_FGETSETPOS.
    * Corrected comment in have_fpos_pos.h.  The HAVE_FPOS_POS symbol was
      NOT related to fgetpos & fsetpos but rather if we we have an __pos
      element in FILEPOS.
    * Changed #define HAVE_NO_FPOS to HAVE_NO_FGETSETPOS.
    * Improved comments in have_fpos_pos.h to show why and how
      HAVE_FPOS_POS, FPOS_POS_BITS, and FPOS_POS_LEN were defined or undefed.
    * Changed showfiles builtin to print sizes cast to (long int) with
      the "%ld" printf format to avoid implementations that do not support
      the "%lld" printf format specifier.
    * Renamed have_fpos.h to have_fgetsetpos.h.  Renamed CALC_HAVE_FPOS_H
      to CALC_HAVE_FGETSETPOS_H.  The make install and the olduninstall
      rules remove the any old have_fpos.h that was previously installed.
    * Added swap_HALFs(dest, src, len) function to byteswap.c.
    * Calc can now handle Big Engian file position sizes that are a
      multiple of BASEB bits in length.  Before handle Big Engian file
      positions could only be 32 and 64 bits in length.  This will allow,
      for example, a Big Engian file position size of 128 (assuming that
      128/BASEB is is an integer).
    * Temporary workaround for musl libc systems such as gentoo Linux that
      allows them to compile calc and successfully run the regression test.
* Thu Dec 01 2022 Michael Vetter <mvetter@suse.com>
  - Update to 2.14.1.1:
    * Added a few remarks on calc version numbers to version.c.
    * Fixed how several headers are built.  On a number of systems, the source
      file failed to compile incorrectly.  This caused problems for systems in
      which header.h.def was not correct.
* Tue Apr 12 2022 Michael Vetter <mvetter@suse.com>
  - Update to 2.14.1.0:
    * Fixed alignment of show item section of help command.
    * Bug fix: While 0^0 == 1, now for y > 0, 0^y == 0.
    * Adjusted cal/test8900.cal to reflect this bug fix.
    * Added tests to cal/regress.cal to help verify bug fix is fixed.
* Wed Jan 12 2022 Michael Vetter <mvetter@suse.com>
  - Update to 2.14.0.14:
    * Fixed typo in Makefile.local comment.
  - Remove calc-rpmlintrc: lib doesnt call exit() anymore
* Wed Jan 12 2022 Michael Vetter <mvetter@suse.com>
  - Update to 2.14.0.13:
    * Minor tweak to seed() builtin. Updated help/srand and help/srandom.
    * Moved Makefile.ship into Makefile.
    * Removed custom/Makefile.head and custom/Makefile.tail.
    * The "README.*" files and "HOWTO.INSTALL" file have been updated.
    * By default, compiler warnings have been turned up.
    * The readline, history and ncurses libraries are now default.
    * We have renamed "stable" as "production".
    * We have renamed "unstable" as "tested".
    * Fixed bug impacting how have_ustat.h was formed.
* Wed Jan 12 2022 Michael Vetter <mvetter@suse.com>
  - Update to 2.14.0.12:
    * Drop support for SunOS, IRIX and MINGW32_NT-5.0 targets.
    * Drop support for CLOCK_SGI_CYCLE.  Drop testing for __MSDOS__.
    * Minor improvement of various help files.  Made format of help
      files more consistent.
    * Corrected a few comments in zrandom.c, including a case where
      the comment referred to 1007 when it should have used 2^32.
    * Improved seed() generation.  Improved some comments in seed.c.
      Added have_environ.c to build have_environ.h in order to
      determine if: extern char **environ;  /* user environment */
      is an valid external symbol.
    * Fixed documentation that referred to the old additive 55
      generator.  We have been using the subtractive 100 in place
      of the additive 55 generator for a while now.
    * Fixed depend rule for custom/Makefile.
    * Fixed how Makefile variable SHELL is set on macOS vs. Linux.
      Using /bin/sh on macOS due to how zsh treats globs by default.
    * Added charbit.h to define CALC_CHARBIT which is either CHAR_BIT
      from <limits.h> or 8 or a value set by the Makefile variable
      CALC_CHARBIT.  Added have_limits.h to determine if <limits.h>
      is a system include file.
    * Fixed incorrect ustat_dev member ref in seed() builtin that
      was part of the unreleased calc v2.12.0.11.
* Wed Jan 12 2022 Michael Vetter <mvetter@suse.com>
  - Update to 2.14.0.10:
    * Pluged a number of memory leaks.
    * Fixed a few cases where v_subtype was not properly initialuzed.
    * Improved the way that internal pre-defined constants are managed.
      Removed unused internal pre-defined constants.  Added code to
      prevent an internal pre-defined constant (that was never allocated)
      from being freed.
* Wed Jan 12 2022 Michael Vetter <mvetter@suse.com>
  - Update to 2.14.0.9:
    * Due to issues with clang and Apple Silicon, ARCH_CFLAGS is now,
      by default, empty: ARCH_CFLAGS=
    * If you want to use, say, -march=native, then either change
      the Makefile or make with: make all ARCH_CFLAGS='-march=native'
    * Added arch and hardware as GNU Makefile computed values.
      As with ${target}, ${arch} and ${hardware} is computed by uname:
      target: uname -a
      arch: uname -p
      hardware: uname -m
    * Fixed compiling calc on Apple Silicon with homebrew.  On Apple
      Silicon, HomeBrew installs on into a different location.  The
      Makefile checks if ${hardware} is arm64 and adjusts the location
      of libraries such as readline and history accordingly.
* Wed Jan 12 2022 Michael Vetter <mvetter@suse.com>
  - Update to 2.14.0.7:
    * The help and man builtin commands now return an error when a
      help file cannot be opened, such as when there is no help file.
    * Added palindrome.cal resource file.  For example, to find the
      largest (highly probable) prime palindrome under 280 decimal
      digits (text tweet limit): prevprimepal(1e280)

Files

/usr/bin/calc
/usr/share/calc
/usr/share/calc/README
/usr/share/calc/alg_config.cal
/usr/share/calc/beer.cal
/usr/share/calc/bernoulli.cal
/usr/share/calc/bernpoly.cal
/usr/share/calc/bigprime.cal
/usr/share/calc/bindings
/usr/share/calc/brentsolve.cal
/usr/share/calc/chi.cal
/usr/share/calc/chrem.cal
/usr/share/calc/comma.cal
/usr/share/calc/constants.cal
/usr/share/calc/cscript
/usr/share/calc/cscript/4dsphere
/usr/share/calc/cscript/fproduct
/usr/share/calc/cscript/mersenne
/usr/share/calc/cscript/piforever
/usr/share/calc/cscript/plus
/usr/share/calc/cscript/powerterm
/usr/share/calc/cscript/simple
/usr/share/calc/cscript/square
/usr/share/calc/custhelp
/usr/share/calc/custhelp/argv
/usr/share/calc/custhelp/devnull
/usr/share/calc/custhelp/help
/usr/share/calc/custhelp/pfe
/usr/share/calc/custhelp/pmodm127
/usr/share/calc/custhelp/pzasusb8
/usr/share/calc/custhelp/register
/usr/share/calc/custhelp/sysinfo
/usr/share/calc/custom
/usr/share/calc/custom/argv.cal
/usr/share/calc/custom/halflen.cal
/usr/share/calc/custom/pfe.cal
/usr/share/calc/custom/pmodm127.cal
/usr/share/calc/custom/pzasusb8.cal
/usr/share/calc/custom/register.cal
/usr/share/calc/deg.cal
/usr/share/calc/dms.cal
/usr/share/calc/dotest.cal
/usr/share/calc/ellip.cal
/usr/share/calc/factorial.cal
/usr/share/calc/factorial2.cal
/usr/share/calc/fnv_tool.cal
/usr/share/calc/gvec.cal
/usr/share/calc/hello.cal
/usr/share/calc/help
/usr/share/calc/help/COPYING
/usr/share/calc/help/COPYING-LGPL
/usr/share/calc/help/abs
/usr/share/calc/help/access
/usr/share/calc/help/acos
/usr/share/calc/help/acosh
/usr/share/calc/help/acot
/usr/share/calc/help/acoth
/usr/share/calc/help/acovercos
/usr/share/calc/help/acoversin
/usr/share/calc/help/acrd
/usr/share/calc/help/acsc
/usr/share/calc/help/acsch
/usr/share/calc/help/address
/usr/share/calc/help/aexcsc
/usr/share/calc/help/aexsec
/usr/share/calc/help/agd
/usr/share/calc/help/ahacovercos
/usr/share/calc/help/ahacoversin
/usr/share/calc/help/ahavercos
/usr/share/calc/help/ahaversin
/usr/share/calc/help/append
/usr/share/calc/help/appr
/usr/share/calc/help/archive
/usr/share/calc/help/arg
/usr/share/calc/help/argv
/usr/share/calc/help/arrow
/usr/share/calc/help/asec
/usr/share/calc/help/asech
/usr/share/calc/help/asin
/usr/share/calc/help/asinh
/usr/share/calc/help/assign
/usr/share/calc/help/assoc
/usr/share/calc/help/atan
/usr/share/calc/help/atan2
/usr/share/calc/help/atanh
/usr/share/calc/help/avercos
/usr/share/calc/help/aversin
/usr/share/calc/help/avg
/usr/share/calc/help/base
/usr/share/calc/help/base2
/usr/share/calc/help/bernoulli
/usr/share/calc/help/binding
/usr/share/calc/help/bindings
/usr/share/calc/help/bit
/usr/share/calc/help/blk
/usr/share/calc/help/blkcpy
/usr/share/calc/help/blkfree
/usr/share/calc/help/blocks
/usr/share/calc/help/bround
/usr/share/calc/help/btrunc
/usr/share/calc/help/bug
/usr/share/calc/help/bugs
/usr/share/calc/help/builtin
/usr/share/calc/help/calc
/usr/share/calc/help/calc_tty
/usr/share/calc/help/calclevel
/usr/share/calc/help/calcpath
/usr/share/calc/help/cas
/usr/share/calc/help/catalan
/usr/share/calc/help/ceil
/usr/share/calc/help/cfappr
/usr/share/calc/help/cfsim
/usr/share/calc/help/change
/usr/share/calc/help/changes
/usr/share/calc/help/char
/usr/share/calc/help/cis
/usr/share/calc/help/cmdbuf
/usr/share/calc/help/cmp
/usr/share/calc/help/comb
/usr/share/calc/help/command
/usr/share/calc/help/config
/usr/share/calc/help/conj
/usr/share/calc/help/contrib
/usr/share/calc/help/cos
/usr/share/calc/help/cosh
/usr/share/calc/help/cot
/usr/share/calc/help/coth
/usr/share/calc/help/count
/usr/share/calc/help/covercos
/usr/share/calc/help/coversin
/usr/share/calc/help/cp
/usr/share/calc/help/crd
/usr/share/calc/help/credit
/usr/share/calc/help/csc
/usr/share/calc/help/csch
/usr/share/calc/help/cscript
/usr/share/calc/help/ctime
/usr/share/calc/help/custom
/usr/share/calc/help/custom_cal
/usr/share/calc/help/d2dm
/usr/share/calc/help/d2dms
/usr/share/calc/help/d2g
/usr/share/calc/help/d2r
/usr/share/calc/help/define
/usr/share/calc/help/delete
/usr/share/calc/help/den
/usr/share/calc/help/dereference
/usr/share/calc/help/det
/usr/share/calc/help/digit
/usr/share/calc/help/digits
/usr/share/calc/help/display
/usr/share/calc/help/dms2d
/usr/share/calc/help/dp
/usr/share/calc/help/environment
/usr/share/calc/help/epsilon
/usr/share/calc/help/errcount
/usr/share/calc/help/errmax
/usr/share/calc/help/errno
/usr/share/calc/help/error
/usr/share/calc/help/errorcode
/usr/share/calc/help/errorcodes
/usr/share/calc/help/errsym
/usr/share/calc/help/estr
/usr/share/calc/help/euler
/usr/share/calc/help/eval
/usr/share/calc/help/excsc
/usr/share/calc/help/exp
/usr/share/calc/help/expression
/usr/share/calc/help/exsec
/usr/share/calc/help/fact
/usr/share/calc/help/factor
/usr/share/calc/help/fclose
/usr/share/calc/help/fcnt
/usr/share/calc/help/feof
/usr/share/calc/help/ferror
/usr/share/calc/help/fflush
/usr/share/calc/help/fgetc
/usr/share/calc/help/fgetfield
/usr/share/calc/help/fgetfile
/usr/share/calc/help/fgetline
/usr/share/calc/help/fgets
/usr/share/calc/help/fgetstr
/usr/share/calc/help/fib
/usr/share/calc/help/file
/usr/share/calc/help/files
/usr/share/calc/help/floor
/usr/share/calc/help/fopen
/usr/share/calc/help/forall
/usr/share/calc/help/fpathopen
/usr/share/calc/help/fprintf
/usr/share/calc/help/fputc
/usr/share/calc/help/fputs
/usr/share/calc/help/fputstr
/usr/share/calc/help/frac
/usr/share/calc/help/free
/usr/share/calc/help/freebernoulli
/usr/share/calc/help/freeeuler
/usr/share/calc/help/freeglobals
/usr/share/calc/help/freeredc
/usr/share/calc/help/freestatics
/usr/share/calc/help/frem
/usr/share/calc/help/freopen
/usr/share/calc/help/fscan
/usr/share/calc/help/fscanf
/usr/share/calc/help/fseek
/usr/share/calc/help/fsize
/usr/share/calc/help/ftell
/usr/share/calc/help/full
/usr/share/calc/help/g2d
/usr/share/calc/help/g2gm
/usr/share/calc/help/g2gms
/usr/share/calc/help/g2r
/usr/share/calc/help/gcd
/usr/share/calc/help/gcdrem
/usr/share/calc/help/gd
/usr/share/calc/help/getenv
/usr/share/calc/help/gms2g
/usr/share/calc/help/h2hm
/usr/share/calc/help/h2hms
/usr/share/calc/help/hacovercos
/usr/share/calc/help/hacoversin
/usr/share/calc/help/hash
/usr/share/calc/help/havercos
/usr/share/calc/help/haversin
/usr/share/calc/help/head
/usr/share/calc/help/help
/usr/share/calc/help/highbit
/usr/share/calc/help/history
/usr/share/calc/help/hmean
/usr/share/calc/help/hms2h
/usr/share/calc/help/hnrmod
/usr/share/calc/help/hypot
/usr/share/calc/help/ilog
/usr/share/calc/help/ilog10
/usr/share/calc/help/ilog2
/usr/share/calc/help/im
/usr/share/calc/help/indices
/usr/share/calc/help/inputlevel
/usr/share/calc/help/insert
/usr/share/calc/help/int
/usr/share/calc/help/interrupt
/usr/share/calc/help/intro
/usr/share/calc/help/inverse
/usr/share/calc/help/iroot
/usr/share/calc/help/isalnum
/usr/share/calc/help/isalpha
/usr/share/calc/help/isassoc
/usr/share/calc/help/isatty
/usr/share/calc/help/isblk
/usr/share/calc/help/iscntrl
/usr/share/calc/help/isconfig
/usr/share/calc/help/isdefined
/usr/share/calc/help/isdigit
/usr/share/calc/help/iserror
/usr/share/calc/help/iseven
/usr/share/calc/help/isfile
/usr/share/calc/help/isgraph
/usr/share/calc/help/ishash
/usr/share/calc/help/isident
/usr/share/calc/help/isint
/usr/share/calc/help/islist
/usr/share/calc/help/islower
/usr/share/calc/help/ismat
/usr/share/calc/help/ismult
/usr/share/calc/help/isnull
/usr/share/calc/help/isnum
/usr/share/calc/help/isobj
/usr/share/calc/help/isobjtype
/usr/share/calc/help/isodd
/usr/share/calc/help/isprime
/usr/share/calc/help/isprint
/usr/share/calc/help/isptr
/usr/share/calc/help/ispunct
/usr/share/calc/help/isqrt
/usr/share/calc/help/isrand
/usr/share/calc/help/israndom
/usr/share/calc/help/isreal
/usr/share/calc/help/isrel
/usr/share/calc/help/issimple
/usr/share/calc/help/isspace
/usr/share/calc/help/issq
/usr/share/calc/help/isstr
/usr/share/calc/help/istype
/usr/share/calc/help/isupper
/usr/share/calc/help/isxdigit
/usr/share/calc/help/jacobi
/usr/share/calc/help/join
/usr/share/calc/help/lcm
/usr/share/calc/help/lcmfact
/usr/share/calc/help/lfactor
/usr/share/calc/help/libcalc
/usr/share/calc/help/list
/usr/share/calc/help/ln
/usr/share/calc/help/log
/usr/share/calc/help/log2
/usr/share/calc/help/logn
/usr/share/calc/help/lowbit
/usr/share/calc/help/ltol
/usr/share/calc/help/makelist
/usr/share/calc/help/mat
/usr/share/calc/help/matdim
/usr/share/calc/help/matfill
/usr/share/calc/help/matmax
/usr/share/calc/help/matmin
/usr/share/calc/help/matsum
/usr/share/calc/help/mattrace
/usr/share/calc/help/mattrans
/usr/share/calc/help/max
/usr/share/calc/help/memsize
/usr/share/calc/help/meq
/usr/share/calc/help/min
/usr/share/calc/help/minv
/usr/share/calc/help/mmin
/usr/share/calc/help/mne
/usr/share/calc/help/mod
/usr/share/calc/help/modify
/usr/share/calc/help/name
/usr/share/calc/help/near
/usr/share/calc/help/new_custom
/usr/share/calc/help/newerror
/usr/share/calc/help/nextcand
/usr/share/calc/help/nextprime
/usr/share/calc/help/norm
/usr/share/calc/help/null
/usr/share/calc/help/num
/usr/share/calc/help/obj
/usr/share/calc/help/oldvalue
/usr/share/calc/help/operator
/usr/share/calc/help/ord
/usr/share/calc/help/overview
/usr/share/calc/help/param
/usr/share/calc/help/perm
/usr/share/calc/help/pfact
/usr/share/calc/help/pi
/usr/share/calc/help/pix
/usr/share/calc/help/places
/usr/share/calc/help/pmod
/usr/share/calc/help/polar
/usr/share/calc/help/poly
/usr/share/calc/help/pop
/usr/share/calc/help/popcnt
/usr/share/calc/help/pound
/usr/share/calc/help/power
/usr/share/calc/help/prevcand
/usr/share/calc/help/prevprime
/usr/share/calc/help/printf
/usr/share/calc/help/prompt
/usr/share/calc/help/protect
/usr/share/calc/help/ptest
/usr/share/calc/help/push
/usr/share/calc/help/putenv
/usr/share/calc/help/questions
/usr/share/calc/help/quo
/usr/share/calc/help/quomod
/usr/share/calc/help/r2d
/usr/share/calc/help/r2g
/usr/share/calc/help/rand
/usr/share/calc/help/randbit
/usr/share/calc/help/random
/usr/share/calc/help/randombit
/usr/share/calc/help/randperm
/usr/share/calc/help/rcin
/usr/share/calc/help/rcmul
/usr/share/calc/help/rcout
/usr/share/calc/help/rcpow
/usr/share/calc/help/rcsq
/usr/share/calc/help/re
/usr/share/calc/help/releases
/usr/share/calc/help/remove
/usr/share/calc/help/resource
/usr/share/calc/help/reverse
/usr/share/calc/help/rewind
/usr/share/calc/help/rm
/usr/share/calc/help/root
/usr/share/calc/help/round
/usr/share/calc/help/rsearch
/usr/share/calc/help/runtime
/usr/share/calc/help/saveval
/usr/share/calc/help/scale
/usr/share/calc/help/scan
/usr/share/calc/help/scanf
/usr/share/calc/help/script
/usr/share/calc/help/search
/usr/share/calc/help/sec
/usr/share/calc/help/sech
/usr/share/calc/help/seed
/usr/share/calc/help/segment
/usr/share/calc/help/select
/usr/share/calc/help/sgn
/usr/share/calc/help/sha1
/usr/share/calc/help/sin
/usr/share/calc/help/sinh
/usr/share/calc/help/size
/usr/share/calc/help/sizeof
/usr/share/calc/help/sleep
/usr/share/calc/help/sort
/usr/share/calc/help/sqrt
/usr/share/calc/help/srand
/usr/share/calc/help/srandom
/usr/share/calc/help/ssq
/usr/share/calc/help/statement
/usr/share/calc/help/stoponerror
/usr/share/calc/help/str
/usr/share/calc/help/strcasecmp
/usr/share/calc/help/strcat
/usr/share/calc/help/strcmp
/usr/share/calc/help/strcpy
/usr/share/calc/help/strerror
/usr/share/calc/help/strlen
/usr/share/calc/help/strncasecmp
/usr/share/calc/help/strncmp
/usr/share/calc/help/strncpy
/usr/share/calc/help/strpos
/usr/share/calc/help/strprintf
/usr/share/calc/help/strscan
/usr/share/calc/help/strscanf
/usr/share/calc/help/strtolower
/usr/share/calc/help/strtoupper
/usr/share/calc/help/substr
/usr/share/calc/help/sum
/usr/share/calc/help/swap
/usr/share/calc/help/system
/usr/share/calc/help/systime
/usr/share/calc/help/tail
/usr/share/calc/help/tan
/usr/share/calc/help/tanh
/usr/share/calc/help/test
/usr/share/calc/help/time
/usr/share/calc/help/todo
/usr/share/calc/help/trunc
/usr/share/calc/help/type
/usr/share/calc/help/types
/usr/share/calc/help/unexpected
/usr/share/calc/help/usertime
/usr/share/calc/help/variable
/usr/share/calc/help/vercos
/usr/share/calc/help/versin
/usr/share/calc/help/version
/usr/share/calc/help/wishlist
/usr/share/calc/help/xor
/usr/share/calc/hms.cal
/usr/share/calc/infinities.cal
/usr/share/calc/intfile.cal
/usr/share/calc/intnum.cal
/usr/share/calc/lambertw.cal
/usr/share/calc/linear.cal
/usr/share/calc/lnseries.cal
/usr/share/calc/lucas.cal
/usr/share/calc/lucas_chk.cal
/usr/share/calc/mersenne.cal
/usr/share/calc/mfactor.cal
/usr/share/calc/mod.cal
/usr/share/calc/natnumset.cal
/usr/share/calc/palindrome.cal
/usr/share/calc/pell.cal
/usr/share/calc/pi.cal
/usr/share/calc/pix.cal
/usr/share/calc/pollard.cal
/usr/share/calc/poly.cal
/usr/share/calc/prompt.cal
/usr/share/calc/psqrt.cal
/usr/share/calc/qtime.cal
/usr/share/calc/quat.cal
/usr/share/calc/randbitrun.cal
/usr/share/calc/randmprime.cal
/usr/share/calc/randombitrun.cal
/usr/share/calc/randomrun.cal
/usr/share/calc/randrun.cal
/usr/share/calc/regress.cal
/usr/share/calc/repeat.cal
/usr/share/calc/screen.cal
/usr/share/calc/seedrandom.cal
/usr/share/calc/set8700.line
/usr/share/calc/smallfactors.cal
/usr/share/calc/solve.cal
/usr/share/calc/specialfunctions.cal
/usr/share/calc/splitbits.cal
/usr/share/calc/statistics.cal
/usr/share/calc/strings.cal
/usr/share/calc/sumsq.cal
/usr/share/calc/sumtimes.cal
/usr/share/calc/surd.cal
/usr/share/calc/test2300.obj_incdec.cal
/usr/share/calc/test2600.numfunc.cal
/usr/share/calc/test2700.isqrt.cal
/usr/share/calc/test3100.matobj.cal
/usr/share/calc/test3300.det.cal
/usr/share/calc/test3400.trig.cal
/usr/share/calc/test4000.ptest.cal
/usr/share/calc/test4100.redc.cal
/usr/share/calc/test4600.fileop.cal
/usr/share/calc/test5100.newdecl.cal
/usr/share/calc/test5200.globstat.cal
/usr/share/calc/test8000.read.cal
/usr/share/calc/test8400.quit.cal
/usr/share/calc/test8500.divmod.cal
/usr/share/calc/test8600.maxargs.cal
/usr/share/calc/test8700.dotest.cal
/usr/share/calc/test8900.special.cal
/usr/share/calc/test9300.frem.cal
/usr/share/calc/test9500.trigeq.cal
/usr/share/calc/toomcook.cal
/usr/share/calc/unitfrac.cal
/usr/share/calc/varargs.cal
/usr/share/calc/write2file.cal
/usr/share/calc/xx_print.cal
/usr/share/calc/zeta2.cal
/usr/share/doc/packages/calc
/usr/share/doc/packages/calc/BUGS
/usr/share/doc/packages/calc/CHANGES
/usr/share/doc/packages/calc/CUSTOM_CAL
/usr/share/doc/packages/calc/HOWTO.INSTALL
/usr/share/doc/packages/calc/HOW_TO_ADD
/usr/share/doc/packages/calc/LIBRARY
/usr/share/doc/packages/calc/README.FIRST
/usr/share/doc/packages/calc/README.md
/usr/share/doc/packages/calc/README.openSUSE
/usr/share/doc/packages/calc/what-is-calc.txt
/usr/share/licenses/calc
/usr/share/licenses/calc/COPYING
/usr/share/licenses/calc/COPYING-LGPL
/usr/share/man/man1/calc.1.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Sun Aug 2 03:56:04 2026