CHAPTER 4: Arithmetic for Computers Flashcards
arithmetic logic unit (ALU)
hardware that performs addition, subtraction, and usually logical operations such as AND and OR
overflow
normalized
number in floating-point notation that has no leading 0s
floating point
computer arithmetic that represents numbers in which the binary point is not fixed
overflow (floating-point)
situation in which a positive exponent becomes too large to fit in the exponent field
underflow (floating-point)
situation in which a negative exponent becomes too large to fit in the exponent field
double precision
floating-point value represented in a 64-bit doubleword
single precision
floating-point value represented in a 32-bit word
exception (interrupt)
unscheduled event that disrupts program execution; used to detect overflow
interrupt
exception that comes from outside of the processer
guard
first of two extra bits kept on the right during intermediate calculations of floating-point numbers; used to improve rounding accuracy
round
Method to make the intermediate floating-point result fit the floating-point format; the goal is typically to find the nearest number that can be represented in the format. It is also the name of the second of two extra bits kept on the right during intermediate floating-point calculations, which improves rounding accuracy
units in the last place (ulp)
number of bits in error in the least significant bits of the significand between the actual number and the number that can be represented
sticky bit
bit used in rounding in addition to guard and round that is set whenever there are nonzero bits to the right of the round bit
fused multiply add
floating-point instruction that performs both a multiply and an add, but rounds only once after the add