If you want to get the lower 8 bits use the & operator. It's more clear what is happening in the code. I haven't seen getting the bits that way ( using modulo ). Also, changing the value of the bar above 255 and it will not be the same anymore.
& vs %
& vs %
|
|
Messages In This Thread |
RE: & vs % - by buran - Nov-29-2017, 07:45 AM
RE: & vs % - by DeaD_EyE - Nov-29-2017, 08:14 AM
RE: & vs % - by Skaperen - Nov-29-2017, 08:27 AM
RE: & vs % - by wavic - Nov-29-2017, 09:37 PM
RE: & vs % - by Skaperen - Nov-30-2017, 01:53 AM
RE: & vs % - by wavic - Nov-30-2017, 02:25 AM
RE: & vs % - by Skaperen - Nov-30-2017, 03:04 AM
|
Users browsing this thread: 3 Guest(s)