Reply To: Cheaters

Home Forums Angry Birds Epic Forum Cheaters Reply To: Cheaters

ToothGnasher
@toothgnasher


@jorge-freeman-1


@killerKea
~ If I remember this subject well the signal (+ or -) of a number on some systems is given by the leftmost bit. If that bit is a 0 the number is positive and it is negative if the bit is 1. FFFF is hexadecimal for a binary number with 32 bits, all 1s. It is the highest binary number that you can represent with 32 bits but as the leftmost bit is 1 it is a negative number of 31 bits where negative numbers are taken into consideration.

As a programmer, myself, let me elaborate. The program allows 32 bit numbers and treats all the bits as significant AND as positive numbers. It’s only the routine that writes the output on the scoreboard that is rendering the number as negative.

For example “111” in binary would be 7, but if the first bit is treated as a sign, it would be -3 (because 11 in binary = 3 in decimal).

Here is a reference that may explain it better: http://www.allaboutcircuits.com/vol_4/chpt_2/3.html