diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-11-29 16:52:46 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-11-29 16:52:46 -0800 |
commit | 3c84f1ae41e1cee7f67b46685e8e487044a80f72 (patch) | |
tree | 800e4239bd82a26176b761c120dc8e9a96b31a4a /apps/tile | |
parent | 59007fb1dab0fb4dcba803e319e688fd2befe733 (diff) | |
download | mu-3c84f1ae41e1cee7f67b46685e8e487044a80f72.tar.gz |
7308
Diffstat (limited to 'apps/tile')
-rw-r--r-- | apps/tile/environment.mu | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu index 6d6b91ec..a39287f4 100644 --- a/apps/tile/environment.mu +++ b/apps/tile/environment.mu @@ -777,6 +777,14 @@ fn bound-function? w: (addr word), functions-ah: (addr handle function) -> _/ebx subresult <- word-equal? w, "*" compare subresult, 0 # false break-if-!= + # if w == "/" return true + subresult <- word-equal? w, "/" + compare subresult, 0 # false + break-if-!= + # if w == "sqrt" return true + subresult <- word-equal? w, "sqrt" + compare subresult, 0 # false + break-if-!= ## strings/arrays # if w == "len" return true subresult <- word-equal? w, "len" |