simplify expression k/m%n
- by aaa
hello.
Simple question, is it possible to simplify (or replace division or modulo by less-expensive operation)
(k/m)%n
where variables are integers and operators are C style division and modulo operators.
what about the case where m and n are constants (both or just one), not based 2?
Thank you