Skip to content
Tech News

How Computers Handle Negative Numbers (and Sometimes Get It Wrong)

By

Reading time 1 minute

Comments (0)

The digital world runs on binary. But while numbers made up of ones and zeroes is easy enough to get your head round, what happens when you need to express a negative number in digital form?

https://gizmodo.com/how-to-read-text-in-binary-1623727454

In fact, it’s not too dissimilar to the way we put a minus sign at the left-most side of a number: you simply place a sign bit at the left, which takes a value of 0 or 1 if the number is positive or negative. But, as Professor Brailsford explains in this video, it doesn’t always go to plan—and it can be embarrassing, or even dangerous, when it goes wrong. [Computerphile]

Share this story

Sign up for our newsletters

Subscribe and interact with our community, get up to date with our customised Newsletters and much more.