mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 13:00:28 +00:00
Fix conj
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user