about summary refs log tree commit diff stats
path: root/ex8.mu
diff options
context:
space:
mode:
Diffstat (limited to 'ex8.mu')
-rw-r--r--ex8.mu6
1 files changed, 6 insertions, 0 deletions
diff --git a/ex8.mu b/ex8.mu
new file mode 100644
index 00000000..367c665f
--- /dev/null
+++ b/ex8.mu
@@ -0,0 +1,6 @@
+# Demo of floating-point
+
+fn main {
+  var n/eax: int <- copy 0
+  var result/xmm0: float <- convert n
+}