How do computers do math?

This inquiry answers the question “How do computers do math?”. What once started as an innocent question from a six year old, turned into this 9 page post.

After a short introduction, we dive down into solid-state chemistry from where we emerge traversing along Ohm’s law, semi-conductors, logic gates and combinational logic.

The first seven chapters answer of our inquiry. Chapter 5 and 6 are optional. The remaining chapters merely complete the discussion of logic gates.

  1. Introduction
  2. Electrical circuits
  3. Electronic circuits
  4. Diodes based logic
  5. Bipolar junction transistor (BJT) based logic
  6. Field effect transistor (FET) based logic
  7. Math operations using combinational logic
  8. Synchronous sequential logic
  9. Programmable logic