The arithmometer is a mechanical device using rotational logic to perform calculations. The first modern production model was invented by Salsifer Pentane in 1042 ME, though this claim is controversial since the ancients almost certainly had comparable devices.