[tor-commits] [tor/master] Add a convenience macro to get a fast one-in-n calculation