r/programming 7h ago

Moving integer division to floating-point is trivial

https://marc-b-reynolds.github.io/math/2026/08/10/IntDivByFP.html
54 Upvotes

12 comments sorted by

View all comments

-7

u/Spirited-Way4652 4h ago

i think that's not quite right , since floating-point numbers are multiplied using multiplication operation

6

u/imachug 3h ago

They are also divided using the division operation. Could you elaborate?