Signed up recently but had issues with the confirmation email?
Click Forgot password and follow the reset steps. You can choose the same password you used when you signed up. This should then provide access.
Remember to check Spam and Junk. The email will be from auth@progressbytes.co.uk.
Representation and normalisation of floating point numbers in binary.
1.4.1 Data Types
Practise exam questionsData Types — Note 7 of 10
Candidates should have an understanding of how (positive and negative) real numbers are represented in a binary floating-point representation, and should be able to convert between a denary number and a real binary number. (NB the representation used for the exam is the mantissa and exponent both represented using two’s complement.) Candidates should understand the need for normalised floating point numbers. Candidates should be able to normalise a floating point number.
Floating point represents real numbers using a mantissa and an exponent, like standard form in maths. In the OCR exam, both the mantissa and the exponent are stored in two's complement. Numbers are normalised to give the greatest possible precision.
-1 . 1/2 1/4 1/8 1/16 ....0011.11 → 1100.01 → 1.10001, repeated 1, so 1.0001; mantissa 10001000, exponent 0010.0.1; a normalised NEGATIVE number starts 1.0.Positive: mantissa 0.1010000, exponent 0011 (= 3)
move point 3 right: 0101.0000 = 4 + 1 = 5
Negative: mantissa 1.0110000, exponent 0010 (= 2)
move point 2 right: 101.10000
= -4 + 1 + 0.5 = -2.5
Normalising: mantissa 0.0011000, exponent 0101 (= 5)
shift mantissa left 2 places -> 0.1100000
exponent 5 - 2 = 3 -> 0011
value unchanged: 6The part of a floating point number holding its significant digits. In OCR exams it is a two's complement fixed point number with the binary point after the first bit.
A two's complement integer saying how many places to move the binary point: right if positive, left if negative.
Adjusting the mantissa and exponent so the mantissa uses as many significant bits as possible, maximising precision for the number of bits available.
01. That is only true for positive numbers: a normalised negative mantissa starts 10. The test is that the first two bits DIFFER.Past exam questions
Ready to test yourself?
Practise 1.4.1 questions