-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
native: fix convert_int_to_string, add comments, more verbose #23743
Conversation
Connected to Huly®: V_0.6-22158 |
I fixed something but did not commit it yet |
I dont think spydr is the good person to review this PR as he is busy and not working on this backend anymore. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All tests run fine here. Changes seem simple enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work.
Adds comments to help understanding the code.
Adds more
c.g.println
calls to have an easier time in verbose native mode.Fixes the new test by terminating the buffer used in
convert_int_to_string
with\0
because it is assumed after when reversing it and when priting it (it tries to find it's lenght by searching\0
). (I did not know how to name my test function.)Adds CLD when reversing the string to prevent the case where DF would be set and REPNE SCAS would do the opposite of what is expected.