summaryrefslogtreecommitdiff
path: root/sample/math.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/math.rb')
-rw-r--r--sample/math.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/sample/math.rb b/sample/math.rb
new file mode 100644
index 0000000000..83be1b9048
--- /dev/null
+++ b/sample/math.rb
@@ -0,0 +1,4 @@
+#load("lib/math.o")
+include Math
+sqrt(4)
+print(Math.sqrt(257), "\n")