This website works better with JavaScript
Home
Explore
Help
Sign In
c
/
odin-lang.Odin
mirror of
https://github.com/odin-lang/Odin
Watch
2
Star
0
Fork
0
Files
Issues
0
Wiki
Browse Source
Fix constant conversion for complex numbers from integers
Ginger Bill
8 years ago
parent
dc303cde21
commit
90fc9abeae
1 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
2
0
code/demo.odin
+ 2
- 0
code/demo.odin
View File
@@ -5,5 +5,7 @@
main :: proc() {
x := 1+2i;
+ y := 3-4i;
+ x = x*y;
fmt.printf("%v\n", x);
}