Appendix A

Number Systems

A.1 Number systems

A number system, also known as the numeral system, is a system for naming or representing numbers. Each number system is characterized by a value known as base or radix. A number system with base, or radix, r is a system that uses distinct symbols for r digits. The first digit in every number system starts from 0. For example, a number system with base 2 contains two digits: 0 and 1; base 8 contains eight digits: 0–7. If the base of a number system exceeds 10, the additional digits use the letters of the alphabet, beginning with an A. Numbers are represented by a string of digit symbols. Table A.1 lists some of the available number systems along with their base and the digits they use to represent ...

Get Programming in C: A Practical Approach, First 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.