Hacker News new | ask | show | jobs
by roger10-4 1205 days ago
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

2 comments

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!".
Or when the controller has a divide but it is painfully slow.