From 96b6d623a6f1160fc6df1406844d7868b66cc659 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 9 May 2021 09:46:46 -0700 Subject: [PATCH] . --- html/mandelbrot-fixed.mu.html | 6 +++--- mandelbrot-fixed.mu | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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"