3 ms·
Which also the same sense that a form using % is not divisionless. When bittwiddlers speak of divisionless they mean not using the exceptionally slow div and d
by nullc 2y ago
Which also the same sense that a form using % is not divisionless. When bittwiddlers speak of divisionless they mean not using the exceptionally slow div and divmod instructions.
Also the same sense in that code that uses division by a compile time constant is divisionless-- any competent compiler will turn that into a multiply.