We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2e1
Originally mentioned in #4481 (comment) , 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.
20
The text was updated successfully, but these errors were encountered:
package test import "core:fmt" main :: proc() { x: int = 2.e1 y: int = 2.2e1 fmt.printfln("%v, %v", x, y) }
20,22
You forgot the period.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Context
Originally mentioned in #4481 (comment) , moving to a separate issue.
Failure Information (for bugs)
Steps to Reproduce
This program
gives me this result:
I'd expect
2e1
to be20
.The text was updated successfully, but these errors were encountered: