[tor-commits] [tor/master] Bug 6647: Use correct scale constant and prevent rounding error