# Computer Arithmetic

Learn how to use Mealy machines to perform arithmetic operations like addition, subtraction, and rounding.

Mealy machines naturally model low-level computer arithmetic algorithms. A one’s-complement machine, for example, is modeled by the following trivial machine.

Get hands-on with 1200+ tech skills courses.