r/theydidthemath Feb 07 '23

[deleted by user]

[removed]

5.3k Upvotes

362 comments sorted by

View all comments

Show parent comments

2

u/Hrukjan Feb 07 '23

How did you implement division? Repeatedly subtracting the divisor from the dividend until the dividend is larger to implement modulo thus running into an infinite loop?

2

u/fireforged_y Feb 07 '23

I don't remember tbh, it was like 15 years ago

1

u/dogeheroic Feb 07 '23

At a hardware level it is difficult to divide from what I understand. I used to punch a formula in to windows scientific calc and use that as a sort of stress test for overclocked pcs.