4 ms·
> Ok, so steer clear of division on ARM CPUs. Don't ignore the last part of the sentence: > …unless you are not worried about space or execution speed. I'd a
by __david__ 13y ago
> Ok, so steer clear of division on ARM CPUs.
Don't ignore the last part of the sentence:
> …unless you are not worried about space or execution speed.
I'd argue that on ARMs you're generally not worried about execution speed (as most run pretty fast nowadays), nor space (RAMs and flashes generally have lots of space).
Now, do you have a really slow ARM, or are you running in a really constrained space (like a tiny metal-mask ROM)? Then yes, avoid it.