The correct answer as told to me by a person is

(N>>3) + ((N-7*(N>>3))>>3)


The above term always gives division by 7

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to