News for hackers. Stuff that matters.
Re:Bitwise Division by roger10-4 on Wednesday March 01, 2023 @07:24AM (#34981577)
Horner’s method [0] is also commonly used on small microcontrollers without divide (or multiply) instructions.

[0] https://www.ti.com/lit/an/slaa329a/slaa329a.pdf

Re:Bitwise Division by dev_tty01 on Wednesday March 01, 2023 @09:25AM (#34982716)
Or when the controller has a divide but it is painfully slow.
Re:Bitwise Division by kjs3 on Thursday March 02, 2023 @06:58PM (#35003833)
Look out. Any time someone brings up microcontroller multiply, there's a someone who is compelled to chime in with "Well I've never needed to multiply on a microcontroller, so why do you need to!".