diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-04-01 22:55:33 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-04-01 22:55:33 +0100 |
| commit | 2c8b99337bb33d0f713026c5c38e05428cc52143 (patch) | |
| tree | c8bd846f86e65ac98962f855db73d05a16237db4 /code | |
| parent | 5008e2c88b314156e0388db7f7ed789fb828c7e4 (diff) | |
Fix `conj`
Diffstat (limited to 'code')
| -rw-r--r-- | code/demo.odin | 3 |
1 files changed, 1 insertions, 2 deletions
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)); } |