Let 'em say we're crazy and count to a MINUS million in binary!

This is the place to post forum game topics. :woo:
User avatar
pinkteddyx64
Co-founder
Posts: 248497
Joined: 12 Feb 2014, 22:09
Reputation: 447
Location: Scunthorpe
Gender: Male

Let 'em say we're crazy and count to a MINUS million in binary!

Postby pinkteddyx64 » 18 Oct 2014, 18:44

The same rules apply as with the other counting threads.

If TSR beats us with this, I'll sue Grace Slick and Digital Spy. :cool:

I'll be the first. :)

1111. :)


Imageeriously, life's too short to be worried about retards on an internet forum. :eek2: :eek3:
Image
User avatar
pinkteddyx64
Co-founder
Posts: 248497
Joined: 12 Feb 2014, 22:09
Reputation: 447
Location: Scunthorpe
Gender: Male

Re: Let 'em say we're crazy and get to a MINUS million in bi

Postby pinkteddyx64 » 18 Oct 2014, 18:55

1110. :( :)


Imageeriously, life's too short to be worried about retards on an internet forum. :eek2: :eek3:
Image
User avatar
pinkteddyx64
Co-founder
Posts: 248497
Joined: 12 Feb 2014, 22:09
Reputation: 447
Location: Scunthorpe
Gender: Male

Re: Let 'em say we're crazy and get to a MINUS million in bi

Postby pinkteddyx64 » 18 Oct 2014, 18:55

1101. :doh: :)


Imageeriously, life's too short to be worried about retards on an internet forum. :eek2: :eek3:
Image
User avatar
pinkteddyx64
Co-founder
Posts: 248497
Joined: 12 Feb 2014, 22:09
Reputation: 447
Location: Scunthorpe
Gender: Male

Re: Let 'em say we're crazy and get to a MINUS million in bi

Postby pinkteddyx64 » 18 Oct 2014, 18:55

1100. ^_^


Imageeriously, life's too short to be worried about retards on an internet forum. :eek2: :eek3:
Image
User avatar
pinkteddyx64
Co-founder
Posts: 248497
Joined: 12 Feb 2014, 22:09
Reputation: 447
Location: Scunthorpe
Gender: Male

Re: Let 'em say we're crazy and get to a MINUS million in bi

Postby pinkteddyx64 » 18 Oct 2014, 18:56

1011. :cat: :D


Imageeriously, life's too short to be worried about retards on an internet forum. :eek2: :eek3:
Image
User avatar
spotify95
Founder and the king of TBAAJ
Posts: 5320
Joined: 22 Nov 2015, 14:24
Reputation: 167
Gender: Male

Re: Let 'em say we're crazy and get to a MINUS million in bi

Postby spotify95 » 18 Oct 2014, 18:57

Binary doesn't use a positive or negative sign - it uses the leading digit as wither 0 (positive) or 1 (negative).

Also remember that Binary only uses 1's or 0's.

You'll need to use 2's Complement to get the binary of negative numbers.

http://en.wikipedia.org/wiki/Two's_complement

To work out 2's compliment, firstly find the binary of the positive number (remember to leave a 0 at the front for the sign)
Then invert all of the digits, and finally add 1 to the result.

Eg: 2 in binary is 010
Invert: 101
2's comp: 110.

Hence -6 in binary:
Positive 6: 0110
Invert: 1001
Add 1: 1010


User avatar
margalo
X Offender
Posts: 1628
Joined: 29 Sep 2014, 20:43
Reputation: 0
Location: Edinburgh
Gender: None specified

Re: Let 'em say we're crazy and get to a MINUS million in bi

Postby margalo » 18 Oct 2014, 21:39

1000


User avatar
margalo
X Offender
Posts: 1628
Joined: 29 Sep 2014, 20:43
Reputation: 0
Location: Edinburgh
Gender: None specified

Re: Let 'em say we're crazy and get to a MINUS million in bi

Postby margalo » 19 Oct 2014, 12:30

10111


User avatar
margalo
X Offender
Posts: 1628
Joined: 29 Sep 2014, 20:43
Reputation: 0
Location: Edinburgh
Gender: None specified

Re: Let 'em say we're crazy and get to a MINUS million in bi

Postby margalo » 19 Oct 2014, 12:30

10110


User avatar
margalo
X Offender
Posts: 1628
Joined: 29 Sep 2014, 20:43
Reputation: 0
Location: Edinburgh
Gender: None specified

Re: Let 'em say we're crazy and get to a MINUS million in bi

Postby margalo » 19 Oct 2014, 12:30

10101


User avatar
margalo
X Offender
Posts: 1628
Joined: 29 Sep 2014, 20:43
Reputation: 0
Location: Edinburgh
Gender: None specified

Re: Let 'em say we're crazy and get to a MINUS million in bi

Postby margalo » 19 Oct 2014, 12:31

10100


User avatar
spotify95
Founder and the king of TBAAJ
Posts: 5320
Joined: 22 Nov 2015, 14:24
Reputation: 167
Gender: Male

Re: Let 'em say we're crazy and get to a MINUS million in bi

Postby spotify95 » 19 Oct 2014, 18:06

10011


User avatar
margalo
X Offender
Posts: 1628
Joined: 29 Sep 2014, 20:43
Reputation: 0
Location: Edinburgh
Gender: None specified

Re: Let 'em say we're crazy and get to a MINUS million in bi

Postby margalo » 20 Oct 2014, 00:16

10010


User avatar
spotify95
Founder and the king of TBAAJ
Posts: 5320
Joined: 22 Nov 2015, 14:24
Reputation: 167
Gender: Male

Re: Let 'em say we're crazy and get to a MINUS million in bi

Postby spotify95 » 30 Oct 2014, 22:40

10001


User avatar
coleslaw
TBAAJ Support Team
Posts: 3179
Joined: 28 Nov 2015, 02:46
Reputation: 108
Gender: Male

Re: Let 'em say we're crazy and get to a MINUS million in bi

Postby coleslaw » 15 Jan 2018, 18:55

spotify95 wrote:Binary doesn't use a positive or negative sign - it uses the leading digit as wither 0 (positive) or 1 (negative).

Also remember that Binary only uses 1's or 0's.

You'll need to use 2's Complement to get the binary of negative numbers.

http://en.wikipedia.org/wiki/Two's_complement

To work out 2's compliment, firstly find the binary of the positive number (remember to leave a 0 at the front for the sign)
Then invert all of the digits, and finally add 1 to the result.

Eg: 2 in binary is 010
Invert: 101
2's comp: 110.

Hence -6 in binary:
Positive 6: 0110
Invert: 1001
Add 1: 1010

Why do we need twos complement here? Ones compliment is fine enough for this thread

101101


User avatar
spotify95
Founder and the king of TBAAJ
Posts: 5320
Joined: 22 Nov 2015, 14:24
Reputation: 167
Gender: Male

Re: Let 'em say we're crazy and get to a MINUS million in bi

Postby spotify95 » 15 Jan 2018, 22:25

coleslaw wrote:
spotify95 wrote:Binary doesn't use a positive or negative sign - it uses the leading digit as wither 0 (positive) or 1 (negative).

Also remember that Binary only uses 1's or 0's.

You'll need to use 2's Complement to get the binary of negative numbers.

http://en.wikipedia.org/wiki/Two's_complement

To work out 2's compliment, firstly find the binary of the positive number (remember to leave a 0 at the front for the sign)
Then invert all of the digits, and finally add 1 to the result.

Eg: 2 in binary is 010
Invert: 101
2's comp: 110.

Hence -6 in binary:
Positive 6: 0110
Invert: 1001
Add 1: 1010

Why do we need twos complement here? Ones compliment is fine enough for this thread

101100


I've had a look here:

https://www.calvin.edu/academic/rit/web ... gative.htm

And it states that although neither system is more correct than the other, two's compliment is more often used.

Just having the leading character for the sign (0 for positive, 1 for negative) can be a bit confusing with the positive number that is bigger by a power of 2. But we can convert to standard binary if required (making sure the leading 1 is kept).

101010


User avatar
coleslaw
TBAAJ Support Team
Posts: 3179
Joined: 28 Nov 2015, 02:46
Reputation: 108
Gender: Male

Re: Let 'em say we're crazy and get to a MINUS million in bi

Postby coleslaw » 16 Jan 2018, 14:00

spotify95 wrote:
coleslaw wrote:
spotify95 wrote:Binary doesn't use a positive or negative sign - it uses the leading digit as wither 0 (positive) or 1 (negative).

Also remember that Binary only uses 1's or 0's.

You'll need to use 2's Complement to get the binary of negative numbers.

http://en.wikipedia.org/wiki/Two's_complement

To work out 2's compliment, firstly find the binary of the positive number (remember to leave a 0 at the front for the sign)
Then invert all of the digits, and finally add 1 to the result.

Eg: 2 in binary is 010
Invert: 101
2's comp: 110.

Hence -6 in binary:
Positive 6: 0110
Invert: 1001
Add 1: 1010

Why do we need twos complement here? Ones compliment is fine enough for this thread

101100


I've had a look here:

https://www.calvin.edu/academic/rit/web ... gative.htm

And it states that although neither system is more correct than the other, two's compliment is more often used.

Just having the leading character for the sign (0 for positive, 1 for negative) can be a bit confusing with the positive number that is bigger by a power of 2. But we can convert to standard binary if required (making sure the leading 1 is kept).

101010

From what I remember twos complement is better and used more because it retains consistency with arithmetic and operations. Since this thread is just listing the minus numbers in order it's not really needed and we can just do:
Find the binary number = 10111
Put sign in front = 010111
Invert = 101000 = -23



Return to “Forum games”

Who is online

Users browsing this forum: No registered users and 14 guests

cron