diff --git a/html/mandelbrot-fixed.mu.html b/html/mandelbrot-fixed.mu.html index ed2dfbe9..aa464470 100644 --- a/html/mandelbrot-fixed.mu.html +++ b/html/mandelbrot-fixed.mu.html @@ -140,9 +140,9 @@ if ('onhashchange' in window) { 81 82 # special routines for multiplying and dividing fixed-point numbers 83 - 84 fn multiply-fixed a: int, b: int -> _/eax: int { - 85 var result/eax: int <- copy a - 86 result <- multiply b + 84 fn multiply-fixed a-f: int, b-f: int -> _/eax: int { + 85 var result/eax: int <- copy a-f + 86 result <- multiply b-f 87 { 88 break-if-not-overflow 89 abort "multiply-fixed: overflow" 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"