about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/tile/main.mu4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/tile/main.mu b/apps/tile/main.mu
index d81588ce..94e7b1e6 100644
--- a/apps/tile/main.mu
+++ b/apps/tile/main.mu
@@ -133,6 +133,10 @@ fn repl {
       var result/xmm0: float <- pop-number-from-value-stack stack
       print-float-decimal-approximate 0, result, 3
       print-string 0, "\n"
+      print-string 0, "width: "
+      var width/eax: int <- float-size result, 3
+      print-int32-decimal 0, width
+      print-string 0, "\n"
     }
     #
     loop