D2 NUMERIC DATA REPRESENTATION

This section defines terms associated with some of the methods used to store numbers in ways that can be efficiently processed. Other related material can be found in Section D1 Data representation.

Much of the data stored in a computer are numbers of some kind. Numbers create special problems for the computer scientist because they vary in type and size in an unpredictable way.

A number, such as ‘123’, could be treated as the three separate characters ‘1’ ‘2’ ‘3’, but if it is necessary to store its value, ‘one hundred and twenty three’, then there are several of ways of doing this. Storing numbers as values, rather than as characters, has the advantage that it is easier to perform arithmetic efficiently.

Get BCS Glossary of Computing, 14th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.