This is how we've been doing division by a constant in the embedded world since...forever
this is so well known in fact that arm gcc defaults to this when a proper constant exists if you do division or modulus operator...
this is so well known in fact that arm gcc defaults to this when a proper constant exists if you do division or modulus operator...