Binary Floating Point Operations – part two

King Bromeliad

Previously we saw how to convert a float to a binary value as well as how to extract the relevant integer and fractional parts from that binary value.  We also saw the rules and logic for carrying out addition and subtraction.  Now we will look at multiplication and division of these binary … Continue reading

Binary Floating Point Operations – part one

Floating Points

Have you ever wondered how floating point operations are actually represented on a computer?  No? Me neither 🙂 However I have been reading a book called ‘Mathematics and Physics for Programmers’ by Danny Kodicek and the first chapter covers this.  For one of the exercises it recommends writing code to … Continue reading