-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
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
Logical OR issue golang #70932
Comments
This has nothing to do with
The call with the
The call with the Swap the calls in the first program and you get identical results. Maybe you're running into confusion as to how |
Issue with arrays memory because of append |
Related Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
Go version
go version go1.23.4 darwin/amd64
Output of
go env
in your module/workspace:What did you do?
return logical OR of two bool func not giving the same number of true depending on the order of calling functions or using tmp variables
1st Code
result 597
2nd Code
result 587
Reports.txt
What did you see happen?
Results different on two extremely similar codes
What did you expect to see?
Same results for both codes
The text was updated successfully, but these errors were encountered: