From 682da5a0fdb2c38ecc3951047a882471d62aa1d1 Mon Sep 17 00:00:00 2001 From: Stefan Eßer Date: Thu, 11 Sep 2025 16:07:46 +0200 Subject: vendor/bc: upgrade to version 7.1.0 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. --- tests/bc/scripts/print_087.bc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/bc/scripts/print_087.bc (limited to 'tests/bc/scripts/print_087.bc') diff --git a/tests/bc/scripts/print_087.bc b/tests/bc/scripts/print_087.bc new file mode 100644 index 000000000000..ed3c6687272b --- /dev/null +++ b/tests/bc/scripts/print_087.bc @@ -0,0 +1,22 @@ +#! /usr/bin/bc -q + +b = 87 + +s = b * b + +print "obase = ", b, "\n" +print "\qobase = \q\n" +b + +for (i = 0; i <= s; ++i) { + i + print "0.", i, "\n" + print ".", i, "\n" + print "1.", i, "\n" + print i, ".", "\n" + print i, ".", i, "\n" +} + +2189432174861923048671023498128347619023487610234689172304.192748960128745108927461089237469018723460 + +halt -- cgit v1.3