Calculating device using two logarithmic scales