Better HN
topnewbestaskshowjobs
Log inSign up

throw8away

1 karma · joined Apr 29, 2021 (5y ago) · 1 submissions

Submissions

comment 5y ago · link · parent

35 / 7 = 5

35-7 = 28, 1

28-7 = 21, 2

21-7 = 14, 3

14-7 = 07, 4

07-7 = 00, 5

thus we can see that in essence, division is repeated subtraction in some contexts, especially computationally.

An easy way to count the amount of X that fits into Y is to simply count the amount of times you can subtract X from Y before Y is a negative value