ABSTRACT

Computer arithmetic is a subset of computer architecture and will be presented for fixed-point, decimal, and floating-point number representations. Each number representation will be presented in relation to the four operations of addition, subtraction, multiplication, and division. Different methods will be presented for each operation in each of the three number representations, together with the detailed theory and design. Numerical data are expressed in various positional number systems for each radix or base. A positional number system encodes a vector of n bits in which each bit is weighted according to its position in the vector. The encoded vector is also associated with a radix r, which is an integer greater than or equal to 2. The binary number system is the most conventional and easily implemented system for internal use in a digital computer; therefore, most digital computers use the binary number system.