Date: Wed, 04 Jan 2017 14:51:01 +0700
From: Robert Elz <[email protected]>
Date: Wed, 04 Jan 2017 14:23:12 +0700
From: Robert Elz <[email protected]>
Message-ID: <[email protected]>
Ignore this gibberish..
| division into a constant is equvalent to multiplication by its
reciprocal,
I still have the impression tha it is possible to do this conversion using
a multiplication, but it isn't that simple...
It is. See fast_divide32(3). Most compilers will automatically
convert divisions by a constant to do something tantamount to it.