Download Latest Version calc-2.15.1.1.tar.bz2 (1.0 MB)
Email in envelope

Get an email when there's a new version of calc: C-style arbitrary precision system

Home / old-calc / 2.14.2.0
Name Modified Size InfoDownloads / Week
Parent folder
README.txt 2023-07-22 753 Bytes
calc-2.14.2.0-13.src.rpm 2023-07-22 996.0 kB
calc-2.14.2.0-13.x86_64.rpm 2023-07-22 1.6 MB
calc-2.14.2.0.tar.bz2 2023-07-22 978.5 kB
calc-debuginfo-2.14.2.0-13.x86_64.rpm 2023-07-22 55.7 kB
calc-devel-2.14.2.0-13.x86_64.rpm 2023-07-22 563.7 kB
Totals: 6 Items   4.2 MB 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
Source: README.txt, updated 2023-07-22