Computer Arithmetic
Why is fixed-point rather than floating-point arithmetic often used in small microcontrollers and DSPs?
- AIt can be computed with integer circuits, which are smaller and use less power
- BFixed point always represents a wider range than floating point
- CFixed point never produces rounding error
Show answer and explanation
Answer: A. It can be computed with integer circuits, which are smaller and use less power
Fixed point merely agrees on a binary-point position; the contents are integers, so addition and multiplication use integer circuits. Without the exponent-alignment and normalization logic of floating-point units, chip area and power stay low, which suits low-cost microcontrollers and signal-processing DSPs. The price is a narrow range, requiring careful design against overflow and insufficient precision. Floating point has the wider range, and fixed point still incurs rounding error.
- A. Correct. Integer circuits suffice, which are small and low-power.
- B. Floating point has the wider range.
- C. Fixed point still has rounding error from limited fraction bits.