Arithmetic Operations
From wikinotes
Addition/Subtraction
Multiplication
Division
Components
divisor ---------- dividend result +--------- divisor / dividendLong Division
+---- 4 / 9362 +---- # 4*2 = 8, closest we can get to 9 without going over 4 / 936 - 8 --- 123 +---- 4 / 936 # (we carry the 3 downwards) - 8 # | ---- # \/ 13 -12 # 4*3 = 12, closest we can get to --- 1234 # <--- result! +---- 4 / 936 - 8 ---- 13 -12 --- 16 -16 # 4*4 = 16, perfect! --- 0