Open lmbarros opened 1 week ago
Originally mentioned in https://github.com/odin-lang/Odin/issues/4481#issuecomment-2473762184 , moving to a separate issue.
This program
main :: proc() { i: int = 2e1 j: int = 2.2e1 fmt.printfln("%v, %v", i, j) }
gives me this result:
10, 22
I'd expect 2e1 to be 20.
2e1
20
Context
Originally mentioned in https://github.com/odin-lang/Odin/issues/4481#issuecomment-2473762184 , moving to a separate issue.
Failure Information (for bugs)
Steps to Reproduce
This program
gives me this result:
I'd expect
2e1
to be20
.