Hacker News new | ask | show | jobs
by emodendroket 1145 days ago
You don't even have to get that cute. Do integer division, multiply the result by the divisor, and subtract the product from the original dividend. Surely you can't say you don't use multiplication, division, and subtraction.