Date: Wed, 04 Jan 2017 14:51:01 +0700
   From: Robert Elz <k...@munnari.oz.au>

       Date:        Wed, 04 Jan 2017 14:23:12 +0700
       From:        Robert Elz <k...@munnari.oz.au>
       Message-ID:  <3987.1483514...@andromeda.noi.kre.to>

   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.

Reply via email to