about summary refs log tree commit diff stats
path: root/mandelbrot-fixed.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-05-09 09:46:46 -0700
committerKartik Agaram <vc@akkartik.com>2021-05-09 09:46:46 -0700
commit96b6d623a6f1160fc6df1406844d7868b66cc659 (patch)
tree3b6c940b882015fbd6370cd54ff01e84da4e1d24 /mandelbrot-fixed.mu
parentd91595e31c869aa6099a88caafbad4fc5c0c1b70 (diff)
downloadmu-96b6d623a6f1160fc6df1406844d7868b66cc659.tar.gz
.
Diffstat (limited to 'mandelbrot-fixed.mu')
-rw-r--r--mandelbrot-fixed.mu6
1 files changed, 3 insertions, 3 deletions
diff --git a/mandelbrot-fixed.mu b/mandelbrot-fixed.mu
index d0469ee1..ac9bbc28 100644
--- a/mandelbrot-fixed.mu
+++ b/mandelbrot-fixed.mu
@@ -81,9 +81,9 @@ fn test-fixed-conversion {
 
 # special routines for multiplying and dividing fixed-point numbers
 
-fn multiply-fixed a: int, b: int -> _/eax: int {
-  var result/eax: int <- copy a
-  result <- multiply b
+fn multiply-fixed a-f: int, b-f: int -> _/eax: int {
+  var result/eax: int <- copy a-f
+  result <- multiply b-f
   {
     break-if-not-overflow
     abort "multiply-fixed: overflow"