diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-11-29 12:51:57 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-11-29 12:51:57 -0800 |
commit | ee3ddc3961d81059863cc1ea8245306ecb381dce (patch) | |
tree | dcb247d33eb15bf02d5bed550755d3135e47de08 /apps/tile/environment.mu | |
parent | 614b132b2e00178f67e3e5dee38d14b9eee806cb (diff) | |
download | mu-ee3ddc3961d81059863cc1ea8245306ecb381dce.tar.gz |
7302 - tile: at long last, division
Also square roots. But there's a bug in rendering floats without precision.
Diffstat (limited to 'apps/tile/environment.mu')
-rw-r--r-- | apps/tile/environment.mu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu index 4ebd41d2..6d6b91ec 100644 --- a/apps/tile/environment.mu +++ b/apps/tile/environment.mu @@ -1517,7 +1517,7 @@ fn render-primitives screen: (addr screen), bottom-margin-row: int, right-col: i row <- subtract 1 var col/edx: int <- copy 1 move-cursor screen, row, col - row, col <- render-primitive-group screen, row, col, right-col, "numbers: ", "+ - * " + row, col <- render-primitive-group screen, row, col, right-col, "numbers: ", "+ - * / sqrt " row, col <- render-primitive-group screen, row, col, right-col, "arrays: ", "len " row, col <- render-primitive-group screen, row, col, right-col, "files: ", "open read slurp lines " row, col <- render-primitive-group screen, row, col, right-col, "misc: ", "dup swap " # hack: keep these at the right of the bottom row |