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
Embedded software developer
Passionately curious and stubbornly persistent. Enjoys to inspire and consult with others to exchange the poetry of logical ideas.

2 Replies to “How do computers do math?”

  1. Coert, I have tried to make a square root in excel but it would be work. The multiply and divide work in excel and the CSM works. I can not send you a picture of my work in this system. Can you help me?
    Ronald lokker from the Netherlands

  2. Thanks. I think the sqrt schematic might use the q* instead of the q to build the new subtrahend.
    [in parallel to email conversation]

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.