diff options
author | Stefan Eßer <se@FreeBSD.org> | 2021-08-10 08:42:54 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2021-08-13 09:28:06 +0000 |
commit | 44d4804d1945435745518cd09eb8ae6ab22ecef4 (patch) | |
tree | ef055c4a707e036378825bd72fe5d712bd2423f2 /contrib/bc/tests/fuzzing/bc_inputs1/cosine.txt | |
parent | f61cb12aac8df8179ac9cbd075272aed6524a505 (diff) | |
download | src-44d4804d1945435745518cd09eb8ae6ab22ecef4.tar.gz src-44d4804d1945435745518cd09eb8ae6ab22ecef4.zip |
usr.bin/ghä-bc, contrib/bc: update to version 5.0.0
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
Diffstat (limited to 'contrib/bc/tests/fuzzing/bc_inputs1/cosine.txt')
-rw-r--r-- | contrib/bc/tests/fuzzing/bc_inputs1/cosine.txt | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/contrib/bc/tests/fuzzing/bc_inputs1/cosine.txt b/contrib/bc/tests/fuzzing/bc_inputs1/cosine.txt deleted file mode 100644 index 9e67df4c6f69..000000000000 --- a/contrib/bc/tests/fuzzing/bc_inputs1/cosine.txt +++ /dev/null @@ -1,44 +0,0 @@ -scale = 25 -p = 4 * a(1) -scale = 20 -c(0) -c(0.5) -c(1) -c(2) -c(3) -c(-0.5) -c(-1) -c(-2) -c(-3) -c(p / 7) -c(-p / 7) -c(p / 4) -c(-p / 4) -c(p / 3) -c(-p / 3) -c(p / 2) -c(-p / 2) -c(3 * p / 4) -c(3 * -p / 4) -c(p) -c(-p) -c(3 * p / 2) -c(3 * -p / 2) -c(7 * p / 4) -c(7 * -p / 4) -c(13 * p / 4) -c(13 * -p / 4) -c(2 * p) -c(2 * -p) -c(131231) -c(-131231) -c(859799894.3562378245) -c(859799894.3562378245) -c(4307371) -c(3522556.3323810191) -c(44961070) -c(6918619.1574479809) -c(190836996.2180244164) -c(34934) -c(2483599) -c(13720376) |