Foundations of analysis; the arithmetic of whole, rational, irrational, and complex numbers. A supplement to textbooks on the differential and integral calculus