aboutsummaryrefslogtreecommitdiff
path: root/tests/bc/lib2_r2d.txt
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2025-09-11 14:07:46 +0000
committerStefan Eßer <se@FreeBSD.org>2025-09-11 14:07:46 +0000
commit682da5a0fdb2c38ecc3951047a882471d62aa1d1 (patch)
tree9315c84201e10a5b4cec2eda91146cac4e1c904d /tests/bc/lib2_r2d.txt
parent5a7f1dde93a4c681a5a4246ddabc562a7f7ce14d (diff)
vendor/bc: upgrade to version 7.1.0vendor/bc/7.1.0vendor/bc
This update fixes a few bugs: - Improper response to double SIGINT with editline. - Not letting libedit handle terminal size changes. - A dc crash from improperly handling an error. - A duplicate check for reference arrays. - Build failures with GCC 15.
Diffstat (limited to 'tests/bc/lib2_r2d.txt')
-rw-r--r--tests/bc/lib2_r2d.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bc/lib2_r2d.txt b/tests/bc/lib2_r2d.txt
new file mode 100644
index 000000000000..904e55df9cd1
--- /dev/null
+++ b/tests/bc/lib2_r2d.txt
@@ -0,0 +1,17 @@
+p=pi(100)
+r2d(p)
+r2d(2 * p)
+r2d(p / 2)
+r2d(p / 4)
+r2d(p / 3)
+r2d(p / 5)
+r2d(p / 6)
+r2d(p / 10)
+r2d(-p)
+r2d(2 * -p)
+r2d(-p / 2)
+r2d(-p / 4)
+r2d(-p / 3)
+r2d(-p / 5)
+r2d(-p / 6)
+r2d(-p / 10)