Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: calc-devel | Distribution: openSUSE:Factory:zSystems |
Version: 2.15.1.0 | Vendor: openSUSE |
Release: 1.2 | Build date: Mon Nov 18 14:06:32 2024 |
Group: Development/Libraries/C and C++ | Build host: reproducible |
Size: 290147 | Source RPM: calc-2.15.1.0-1.2.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: http://www.isthe.com/chongo/tech/comp/calc/index.html | |
Summary: Development files for libcalc |
Part of the calc release consists of an arbitrary precision math link library. This link library is used by the calc program to perform its own calculations. If you wish, you can ignore the calc program entirely and call the arbitrary precision math routines from your own C programs. This package contains the files needed for building programs that use this library.
LGPL-2.1-only
* 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)
/usr/include/calc /usr/include/calc/alloc.h /usr/include/calc/attribute.h /usr/include/calc/banned.h /usr/include/calc/blkcpy.h /usr/include/calc/block.h /usr/include/calc/bool.h /usr/include/calc/byteswap.h /usr/include/calc/calc.h /usr/include/calc/cmath.h /usr/include/calc/config.h /usr/include/calc/custom.h /usr/include/calc/decl.h /usr/include/calc/errtbl.h /usr/include/calc/file.h /usr/include/calc/func.h /usr/include/calc/hash.h /usr/include/calc/hist.h /usr/include/calc/int.h /usr/include/calc/jump.h /usr/include/calc/label.h /usr/include/calc/lib_calc.h /usr/include/calc/lib_util.h /usr/include/calc/nametype.h /usr/include/calc/opcodes.h /usr/include/calc/prime.h /usr/include/calc/qmath.h /usr/include/calc/sha1.h /usr/include/calc/str.h /usr/include/calc/strl.h /usr/include/calc/symbol.h /usr/include/calc/token.h /usr/include/calc/value.h /usr/include/calc/version.h /usr/include/calc/zmath.h /usr/include/calc/zrand.h /usr/include/calc/zrandom.h /usr/lib64/libcalc.so /usr/lib64/libcustcalc.so /usr/share/doc/packages/calc-devel /usr/share/doc/packages/calc-devel/BUGS /usr/share/doc/packages/calc-devel/LIBRARY /usr/share/doc/packages/calc-devel/README.md /usr/share/doc/packages/calc-devel/README.openSUSE /usr/share/doc/packages/calc-devel/sample.README /usr/share/doc/packages/calc-devel/sample_many.c /usr/share/doc/packages/calc-devel/sample_rand.c /usr/share/licenses/calc-devel /usr/share/licenses/calc-devel/COPYING /usr/share/licenses/calc-devel/COPYING-LGPL
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jan 14 23:53:21 2025