SuperExamsSuperExams
Search papers…
Menu
DashboardBrowse papersRevision notesBooksSavedRevision packsFlashcardsMy progressAchievementsAI TutorMy classMessages
Back to dashboard

Unlock worked solutions

Step-by-step answers by examiners. From €5/mo.

Try Premium free →
← Computer Science notes
Cambridge A-Level·Computer Science·Cambridge AS & A Level Computer Science

Floating-Point & Fixed-Point Representation

16 min read

Binary fractions, fixed-point representation, normalised floating-point numbers (mantissa and exponent in two's complement), conversion, rounding and underflow/overflow, and the precision/range trade-off.

Binary fractions and fixed-point

A fixed-point binary number places the binary point at a fixed position. To the right of the point the place values continue as negative powers of two: 0.5, 0.25, 0.125, … For example 0101.1010 = 4 + 1 + 0.5 + 0.125 = 5.625.

Fixed-point is simple but wastes bits and has a limited range for a given word size — you must reserve enough bits for both the largest whole number and the smallest fraction you need.

Viewing only

This content is free to read on superexams.com and cannot be printed or downloaded.

Read the full note, free

Create a free account to read this note in full. Every free account gets 2 complete revision notes, no card needed.

Sign up free →Log in

More Computer Science notes

Information Representation

Data Compression & Encryption

Communication & Networking

Hardware & the Processor