Fixed Point Notation
Learn how to represent numbers with fractional parts using fixed point notation.
Fractions in binary
We have learned how to represent whole numbers – positive and negative – in binary, and how to divide with binary numbers, but you might be wondering how we would represent fractions.
Representing fractions in binary is essential because we need fractions when simulating many real-world scenarios using computers.
Let’s have a look at the decimal technique of representing non-integer numbers:
For every place beyond the decimal point, i.e., on the right of the units () place, the value is equivalent to ...
Get hands-on with 1400+ tech skills courses.