What kind of math do computer programmers use?

  • Add
  • Subtract
  • Multiply
  • Divsion
  • Modulo (%) <- very related to division
  • Power/Exponent (pow)
  • Absolute numbers (abs)
  • Rounding off (roundf)
  • Rounding up (ceil)
  • Rounding down (floor)
  • Pyth. Thm. (a^2 + b^2 = c^2)
  • Floating point arithmetic (how floating points works)
  • Arithmetic sequence (1, 2, 3, …)
  • Geometric sequence (1^2, 2^2, 3^2, …)
  • How to do a sum of numbers (for loop/arithmetic