YEAR 2 CO1 WEEK 5 FLOATING POINT ARITHMETIC Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Describe step by step how to subtract 01001100 0011 from 01001010 0010. Have to leave the answer normalised.

A

First convert the two values to floating point numbers.
0100.1100 010.01010
Then convert the second value to a positive number as it is negative.
(KEEP, FLIP AND ADD 1)
101.10110

Then add the two values together padding the ‘negative’ number with 1s.
0100.11000
1101.10110
==========
10010.01110

Finally convert back to normalised form. Make sure to state in the given bits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly