In today’s post, we take a deep dive into the two main approaches to storing fractional numbers in computers – fixed-point and floating point number representations.
Divide and Conquer: A Four Step Process To Simplify Binary Division
Division is probably the hardest of the four basic arithmetic operations. In this post we walk through an easy to follow, step-by-step process that you can use to divide any two binary numbers.
Why Binary Multiplication May Not Be As Complicated As You Think
Welcome to the next post in my series on binary numbers and binary arithmetic. In todays post we’re again going to build on what we have learnt in my previous posts on binary addition and binary subtraction and see how we can perform multiplication in binary.
How To Convert Between Binary and Decimal Fractions
In previous posts we’ve seen how we can convert whole numbers from decimal to binary notation and back again. In this post, we build on this knowledge and look at how to convert between binary and decimal fractions.
Binary Overflow
Before we move on, I just wanted to take a moment to look at another peculiarity of using binary numbers, the concept of wrap-around or binary overflow.
The Secret To How Computers Perform Binary Subtraction
Now, we have already talked about how to perform binary addition but what about the opposite? How do we subtract two binary numbers? In today’s post, we’re going to walk through a couple of step-by-step examples.