Evaluating logarithms without a calculator