contrib/bc: import version 6.5.0
authorStefan Eßer <se@FreeBSD.org>
Sun, 30 Apr 2023 17:53:26 +0000 (19:53 +0200)
committerStefan Eßer <se@FreeBSD.org>
Sun, 30 Apr 2023 18:28:21 +0000 (20:28 +0200)
commit8c48f4c5377ddc3dc55388f181f23111145f7099
tree53c36bc435517d24e8cf411ed45e7eabb9094f3e
parent6a23843a4a6f2dae95a2029358468b697072b8d2
contrib/bc: import version 6.5.0

This release that fixes an infinite loop bug in the (non-standard)
extended math library functions root() and cbrt(), fixes a bug with
BC_LINE_LENGTH=0, and adds the fib() function to the extended math
library to calculate Fibonacci numbers.

(cherry picked from commit 438a1101dc1f687928cdbe02cd7817a88a24f42f)

MFC after:      3 days
13 files changed:
contrib/bc/NEWS.md
contrib/bc/gen/lib2.bc
contrib/bc/include/version.h
contrib/bc/src/vm.c
contrib/bc/tests/bc/all.txt
contrib/bc/tests/bc/fib.txt [new file with mode: 0644]
contrib/bc/tests/bc/fib_results.txt [new file with mode: 0644]
contrib/bc/tests/bc/scripts/all.txt
contrib/bc/tests/bc/scripts/cbrt.txt [new file with mode: 0644]
contrib/bc/tests/bc/scripts/root.bc [new file with mode: 0644]
contrib/bc/tests/bc/scripts/root.txt [new file with mode: 0644]
contrib/bc/tests/extra_required.txt
contrib/bc/tests/script.sh