Skip to content
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

Code made compatible for 16,32 & 64 bits processors #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Code made compatible for 16,32 & 64 bits processors #3

wants to merge 1 commit into from

Conversation

Madzik890
Copy link

Without this change, code not works correctly, on other processors than 16 bits.
The reason of this problem, is time, when a unsigned int is changing from negative to positive.
In 16 bits processors, negative number is changing to positive in a next operation.
In 32/64 bits processor, negative number is changing to positive immediately.

Without this change, code not works correctly, on other processors than 16 bits. 
The reason of this problem, is time, when a unsigned int is changing from negative to positive.
In 16 bits processors, negative number is changing to positive in a next operation.
In 32/64 bits processor, negative number is changing to positive immediately.
@Madzik890 Madzik890 changed the title Make code compatible for 16,32 & 64 bits processors Made code compatible for 16,32 & 64 bits processors Apr 19, 2019
@Madzik890 Madzik890 changed the title Made code compatible for 16,32 & 64 bits processors Code made compatible for 16,32 & 64 bits processors Apr 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant