From 96b6d623a6f1160fc6df1406844d7868b66cc659 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 9 May 2021 09:46:46 -0700 Subject: . --- mandelbrot-fixed.mu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mandelbrot-fixed.mu') 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" -- cgit 1.4.1-2-gfad0