Skip to content

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

Open
Madzik890 wants to merge 1 commit intokmarquet:masterfrom
Madzik890:patch-1
Open

Code made compatible for 16,32 & 64 bits processors#3
Madzik890 wants to merge 1 commit intokmarquet:masterfrom
Madzik890:patch-1

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