Skip to content

Releases: gavinhoward/bc

Version 2.5.1

16 Jan 05:26
Compare
Choose a tag to compare

This is a production release which addresses portability concerns discovered in the bc build system. No bc code was changed.

  • Support for Solaris SPARC and AIX were added.
  • Minor documentations edits were performed.
  • An option for configure.sh was added to disable long options if getopt_long() is missing.
$ sha512sum bc-2.5.1.tar.xz
a2dec8f520a2c64df582a41bacb2f3ea275fbf01400668a7bcea1d3a90c0490516c20fd79932157ec0e313e845a34d100cf05985e8cdea456308c2aa8843bab4  bc-2.5.1.tar.xz

$ sha256sum bc-2.5.1.tar.xz
ebd85523b8aa08f694f6415c672477ba7ef878d25a37ae1b779c27c64d62dd0e  bc-2.5.1.tar.xz

$ stat -c '%s  %n'
162408  bc-2.5.1.tar.xz

$ sha512sum bc-2.5.1.tar.xz.sig
907937b67ad1a279f1713e613a65a4606a620f39600a087c9cf05a64beaa90e06e905c0f9e1b1199ae44df797823de215bd877f54a031fad045aa760e3909627  bc-2.5.1.tar.xz.sig

$ sha256sum bc-2.5.1.tar.xz.sig
0232a416adb7c4550b20621551d303743ed25eebb628157de7157f454c1de94b  bc-2.5.1.tar.xz.sig

$ stat -c '%s  %n'
662  bc-2.5.1.tar.xz.sig

Version 2.5.0

14 Jan 15:16
Compare
Choose a tag to compare

This is a production release with new translations. No code changed.

The translations were contributed by bugcrazy, and they are for Portuguese, both Portugal and Brazil locales.

$ sha512sum bc-2.5.0.tar.xz
6e129111e6619530c2f5e05d958004ba1ac1385e6aaf12917b09e3b1352d518ae3105a8868c7bb9d9984c93dd1a8a6f5fcb14d40889fa5c5f363e4fbd00ff625  bc-2.5.0.tar.xz

$ sha256sum bc-2.5.0.tar.xz
087383e3dc0e065d5461795ad93f9168dc239c033c415a7fbdf1de80929c1498  bc-2.5.0.tar.xz

$ stat -c '%s  %n'
161720  bc-2.5.0.tar.xz

$ sha512sum bc-2.5.0.tar.xz.sig
80b835969d919bd3326d14b38ad7b4f7186893a4d6430a8534611fd0a8415ea7d4feb9805e7773903aa27fd768d8400e3567d1b13164ab093fdfebaaef1c11a0  bc-2.5.0.tar.xz.sig

$ sha256sum bc-2.5.0.tar.xz.sig
d33b175c104738a23027e1ff2eadfbef5b23a0d71e225ccd0be1d906e74e792b  bc-2.5.0.tar.xz.sig

$ stat -c '%s  %n'
662  bc-2.5.0.tar.xz.sig

Version 2.4.0

02 Dec 05:28
Compare
Choose a tag to compare

This is a production release primarily aimed at improving dc.

  • A couple of copy and paste errors in the dc manual were fixed.
  • dc startup was optimized by making sure it didn't have to set up bc-only things.
  • The bc && and || were made available to dc through the M and m commands, respectively.
  • dc macros were changed to be tail call-optimized.

The last item, tail call optimization, means that if the last thing in a macro is a call to another macro, then the old macro is popped before executing the new macro. This change was made to stop dc from consuming more and more memory as macros are executed in a loop.

The q and Q commands still respect the "hidden" macros by way of recording how many macros were removed by tail call optimization.

$ sha512sum bc-2.4.0.tar.xz
43006a9f0b3acbc27fb3726536eb8723155521c3b29e187d54b350320f179454c526f5e5e66c0b3a1fca62003d1e830220d4753fd374efa3a0fa1f8a1d02e739  bc-2.4.0.tar.xz

$ sha256sum bc-2.4.0.tar.xz
95bf33fe35a80612b800bf6db5b2164f28b6147809a2f600a504e59263ba9c84  bc-2.4.0.tar.xz

$ stat -c '%s  %n'
168000  bc-2.4.0.tar.xz

$ sha512sum bc-2.4.0.tar.xz.sig
e62656fe4e7b37f93bd5144fe54180d8e7b71e6445bee94604cfbd58730972c14388aaf26f9bf77cc4d0bd8ecd48f3d92642c6d827602c3e11c095f3308575c5  bc-2.4.0.tar.xz.sig

$ sha256sum bc-2.4.0.tar.xz.sig
54bd3d4e2c0f84609abfbfa0be7eab7d006ea1942bf195ba4fc6da310fb9afb3  bc-2.4.0.tar.xz.sig

$ stat -c '%s  %n'
662  bc-2.4.0.tar.xz.sig

Version 2.3.2

28 Nov 05:25
Compare
Choose a tag to compare

This is a production release meant to fix warnings in the Gentoo ebuild by making it possible to disable binary stripping. Other users do not need to upgrade.

$ sha512sum bc-2.3.2.tar.xz
732cf67a27b537406418ddb1a11c1da0fcbda23bdb7beba0e16a57a9d6639cdb7b9b43f5028c8fac45fe253dadfcb80b50d7fef0bbe32a7391cd946ace1408f8  bc-2.3.2.tar.xz

$ sha256sum bc-2.3.2.tar.xz
f2b070822b6a20f63c8a4192669830fe70d0cc5f0655ff0994b61afce595084c  bc-2.3.2.tar.xz

$ stat -c '%s  %n'
160120  bc-2.3.2.tar.xz

$ sha512sum bc-2.3.2.tar.xz.sig
6c5ac912cf06c02b208abd3bb7544eb6f4ce150e54e50ec74dbb3454995eec86f08601b24e691d94710975bdec7bce8f04fc118a4f40ec72cd73f147e60af33b  bc-2.3.2.tar.xz.sig

$ sha256sum bc-2.3.2.tar.xz.sig
2b965dced594802db3b812d81eb6d02e62cce55c913606ccd64163757b938935  bc-2.3.2.tar.xz.sig

$ stat -c '%s  %n'
662  bc-2.3.2.tar.xz.sig

Version 2.3.1

23 Nov 03:05
Compare
Choose a tag to compare

This is a production release. It fixes a bug that caused -1000000000 < -1 to return 0. This only happened with negative numbers and only if the value on the left was more negative by a certain amount.

ALL USERS SHOULD UPDATE bc.

$ sha512sum bc-2.3.1.tar.xz
a704356dfba75d94a3db9ab30ccd4b5cea1ccd8866c20650026148f61e0d799760d04bb6fefec46b3ce93a4a575c81f0668064af498cf7b581edcb82d00eb22e  bc-2.3.1.tar.xz

$ sha256sum bc-2.3.1.tar.xz
ecd66a326f348ce4e109df4ed06d9fe03a6fa5f22a6fe14aa577a393d2b08a32  bc-2.3.1.tar.xz

$ stat -c '%s  %n'
161780  bc-2.3.1.tar.xz

$ sha512sum bc-2.3.1.tar.xz.sig
d77793b7664d2127f2d5519a67dc9715bb3771ffd7d4139a23bfcb73bf9ce08b2919e9447bfa91771bf3af0d45fcc010ad764958b950d0dd97ba7b0e97c39395  bc-2.3.1.tar.xz.sig

$ sha256sum bc-2.3.1.tar.xz.sig
d0e6ba03322774d218af697285aca806233e59ad06aea1a651cf60c14ee4cfea  bc-2.3.1.tar.xz.sig

$ stat -c '%s  %n'
662  bc-2.3.1.tar.xz.sig

Version 2.3.0

23 Nov 03:01
Compare
Choose a tag to compare

This is a production release with changes to the build system.

$ sha512sum bc-2.3.0.tar.xz
3d2f317e332a152cd2380c779ae053e06eaf831d9d811db68d6f586987c1e83a23e5e66d0669d0debd945ce4e3ba91ce62b4fbb23a681db00f011e194e1615c2  bc-2.3.0.tar.xz

$ sha256sum bc-2.3.0.tar.xz
da58dc057172e623d0c405875dbabfc2a483542ef9a0fd9d0029f06f74e9c6c8  bc-2.3.0.tar.xz

$ stat -c '%s  %n'
161484  bc-2.3.0.tar.xz

$ sha512sum bc-2.3.0.tar.xz.sig
bcdf7ca8425e6fb700e997df53fec188e05946d80d6f64e1945d369582255978df85f3e0e97576bbad427054a097335c28485e3106818733eb3cdfbe98d1fcaa  bc-2.3.0.tar.xz.sig

$ sha256sum bc-2.3.0.tar.xz.sig
d0b9c8c0ee6cbb843054795f6ff1e62070492b9b4d78b5f4b7229bbfc21888f9  bc-2.3.0.tar.xz.sig

$ stat -c '%s  %n'
662  bc-2.3.0.tar.xz.sig

Version 2.2.0

30 Oct 00:02
Compare
Choose a tag to compare

This release is a production release. It only has new features and performance improvements.

  • The performance of sqrt() was improved.
  • A new function root() was added to the library to calculate nth roots.
  • A new function cbrt() was added to the library to calculate cube roots.
$ sha512sum bc-2.2.0.tar.xz
092017811ed4eef6d3539076ab3003056d3281d982c37af843fdc5cafc916b310341e060cc4c26a5a04f5292c48a34ef1b2015b03c0ba4146355286e4759171a  bc-2.2.0.tar.xz

$ sha256sum bc-2.2.0.tar.xz
959f4c7368fc1c4865a40642db49cbefc1dad3f920376d9a405c4ec33a4de6fa  bc-2.2.0.tar.xz

$ stat -c '%s  %n' bc-2.2.0.tar.xz
154312  bc-2.2.0.tar.xz

Version 2.1.3

12 Aug 22:52
Compare
Choose a tag to compare

This is a non-critical release; it just changes the build system, and in non-breaking ways:

  • Linked locale files were changed to link to their sources with a relative link.
  • A bug in configure.sh that caused long option parsing to fail under bash was fixed.
$ sha512sum bc-2.1.3.tar.xz
976ef9ba4251ee78f927ee0fa2b5e65b8186d4cbe22f5210b03b79606f52263a731dbcf5380ca0e79b681c98f67f886fb9e773b57cd5f065549af3df174766e2  bc-2.1.3.tar.xz

$ sha256sum bc-2.1.3.tar.xz
cf24e19a5573e7cc8e4cbefea382de57e982212c33e8e15d7064ccc989cae17b  bc-2.1.3.tar.xz

$ stat -c '%s  %n' bc-2.1.3.tar.xz
153048  bc-2.1.3.tar.xz

Version 2.1.2

06 Aug 03:01
Compare
Choose a tag to compare

This release is not a critical release.

  • A few codes were added to history.
  • Multiplication was optimized a bit more.
  • Addition and subtraction were both optimized a bit more.
$ sha512sum bc-2.1.2.tar.xz
f777f460d2a09a1abf332d9dc4e82a80c067ace67c107786ef4f0c660d82c332c5f95a4b94ee6105893a066c47e756074adbf6ebd27ca5782d59a4ad3a983890  bc-2.1.2.tar.xz

$ sha256sum bc-2.1.2.tar.xz
661f616919d5531348db21352f6134a7a49c3408cf3331638dfc8e9618eaa227  bc-2.1.2.tar.xz

$ stat -c '%s  %n' bc-2.1.2.tar.xz
170300  bc-2.1.2.tar.xz

Version 2.1.1

15 Jul 03:26
Compare
Choose a tag to compare

This release contains a fix for the test suite made for Linux from Scratch: now the test suite prints pass when a test is passed.

Other than that, there is no change in this release, so distros and other users do not need to upgrade.

$ sha512sum bc-2.1.1.tar.xz
3d9c66d100c63c619e92aa52830e5ce77064025e76bd4c9071f4c234e84c63ad8ca9673ec2f25fe315164a17cbee3bed3b1a33ba68baf212587e03dd8c2924bc  bc-2.1.1.tar.xz

$ sha256sum bc-2.1.1.tar.xz
ab69153faffd34bde2ae1c19e96195e3da141c1c25789fe394f75773c3bb6b4b  bc-2.1.1.tar.xz

$ stat -c '%s  %n' bc-2.1.1.tar.xz
153268  bc-2.1.1.tar.xz