mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Fix constant conversion for complex numbers from integers
This commit is contained in:
@@ -5,5 +5,7 @@
|
|||||||
|
|
||||||
main :: proc() {
|
main :: proc() {
|
||||||
x := 1+2i;
|
x := 1+2i;
|
||||||
|
y := 3-4i;
|
||||||
|
x = x*y;
|
||||||
fmt.printf("%v\n", x);
|
fmt.printf("%v\n", x);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user