From 2c8b99337bb33d0f713026c5c38e05428cc52143 Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Sat, 1 Apr 2017 22:55:33 +0100 Subject: Fix `conj` --- code/demo.odin | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'code') diff --git a/code/demo.odin b/code/demo.odin index aa75411d8..197aa83fe 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -2,10 +2,9 @@ #import "os.odin"; #import "math.odin"; - main :: proc() { x := 1+2i+3j+4k; - y := 3-4i-5j-6k; + y := conj(x); z := x/y; fmt.println(z, abs(z)); } -- cgit v1.2.3