aboutsummaryrefslogtreecommitdiff
path: root/tests/files/bc/pi.txt
diff options
context:
space:
mode:
authorGavin Howard <yzena.tech@gmail.com>2018-08-08 00:15:50 -0600
committerRob Landley <rob@landley.net>2018-08-08 19:56:35 -0500
commit151e3f782333acbe349fdaac3ec843e42e95be3f (patch)
tree25e49c3292fafde0613fbcf601f8ab03da082e62 /tests/files/bc/pi.txt
parent49d02c41fe60684e1f43cab38e4c1d80a607a921 (diff)
downloadtoybox-151e3f782333acbe349fdaac3ec843e42e95be3f.tar.gz
Add bc (and its tests) to pending
Diffstat (limited to 'tests/files/bc/pi.txt')
-rw-r--r--tests/files/bc/pi.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/files/bc/pi.txt b/tests/files/bc/pi.txt
new file mode 100644
index 00000000..4ae0fa64
--- /dev/null
+++ b/tests/files/bc/pi.txt
@@ -0,0 +1,7 @@
+for (i = 0; i <= 100; ++i) {
+ scale = i
+ 4 * a(1)
+}
+
+scale = 1000
+4 * a(1)