Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 507 Bytes

File metadata and controls

12 lines (7 loc) · 507 Bytes

Underflow and overflow

Explain underflow and overflow and describe the circumstances in which they occur.

Underflow

Underflow is when a number is too small to be represented in the given number of bits. Usually occurs when a very small number is subtracted from a very large number, or a large number is divided by a much larger number.

Overflow

Overflow is when a number is too large to be represented in the given number of bits. Usually occurs when two large numbers are added together.