aboutsummaryrefslogtreecommitdiff
path: root/contrib/bc/configure
Commit message (Collapse)AuthorAgeFilesLines
* usr.bin/ghä-bc, contrib/bc: update to version 5.0.0Stefan Eßer2021-08-131-1321/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 2f57ecae4b98e76e5d675563785a7e6c59c868c4 This is a new major release with a number of changes and extensions: - Limited the number of temporary numbers and made the space for them static so that allocating more space for them cannot fail. - Allowed integers with non-zero scale to be used with power, places, and shift operators. - Added greatest common divisor and least common multiple to lib2.bc. - Made bc and dc UTF-8 capable. - Added the ability for users to have bc and dc quit on SIGINT. - Added the ability for users to disable prompt and TTY mode by environment variables. - Added the ability for users to redefine keywords. - Added dc's modular exponentiation and divmod to bc. - Added the ability to assign strings to variables and array elements and pass them to functions in bc. - Added dc's asciify command and stream printing to bc. - Added bitwise and, or, xor, left shift, right shift, reverse, left rotate, right rotate, and mod functions to lib2.bc. - Added the functions s2u(x) and s2un(x,n), to lib2.bc. MFC after: 1 week
* Merge commit '7a590c074ceede12b2b6e794f8703d6fa5749918'Stefan Eßer2021-04-061-1/+1321
| | | | | | | | | | | | | | | Update to version 4.0.0 This version fixes an issue (missing pop of top-of-stack value in the "P" command of the dc program). This issue did not affect the bc program, since it does not use dc as an back-end to actually perform the calculations as was the case with the traditional bc and dc programs. The major number has been bumped due to Windows support that has been added to this version. It does not correspond to a major change that might affect FreeBSD.
* Update to version 3.1.1Stefan Eßer2020-07-071-0/+1
| | | | | | | | | | | | | | | | | This version fixes a regression with regard to tradtional behavior of the non-standard FreeBSD option "-e". In the previous version "-e quit" caused bc to exit before any computations had been performed, since all -e option parameters were concatenated and parsed as a whole, with quit causing the program to exit as soon as it was parsed. This version parses and executes commands passed with -e one by one and only exits after all prior commands have been executed. This commit is not a SVN merge, since the vendor import had been performed after the import to contrib. Instead the contents of contrib/bc has been removed and the new version is copied over unchanged from vendor/bc/dist. Notes: svn path=/head/; revision=362987
* - Remove GNU bc/dc bits. There has not been any regressions seen afterGabor Kovesdan2010-02-211-2656/+0
| | | | | | | | | | BSD bc/dc import. It has been tested with make universe that this code is not used by anything any more. Approved by: delphij (mentor) Notes: svn path=/head/; revision=204171
* Initial import of bc 1.0.6Kris Kennaway2001-02-261-154/+363
| | | | Notes: svn path=/vendor/bc/dist/; revision=73064
* Import GNU bc 1.05a.David E. O'Brien2000-01-161-212/+344
| | | | Notes: svn path=/vendor/bc/dist/; revision=56101
* Import GNU bc 1.04vendor/misc-GNU/bc/1.0.4Andreas Klemm1998-04-291-0/+2315
PR: 4183 Notes: svn path=/vendor/bc/dist/; revision=35516 svn path=/vendor/bc/1.0.4/; revision=35518; tag=vendor/misc-GNU/bc/1.0.4