aboutsummaryrefslogtreecommitdiff
path: root/tests/files/bc/arctan.bc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/bc/arctan.bc')
-rwxr-xr-xtests/files/bc/arctan.bc12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/files/bc/arctan.bc b/tests/files/bc/arctan.bc
new file mode 100755
index 00000000..11a76953
--- /dev/null
+++ b/tests/files/bc/arctan.bc
@@ -0,0 +1,12 @@
+#! /usr/bin/bc -q
+
+i = 0
+for (i = 1; i <= 100; ++i) {
+ print "scale = ", i, "\n"
+ print "a(.267)\n"
+ print "a(1)\n"
+}
+
+"halt"
+
+halt