 While working on adding automatic multiplication and division to Pascal's calculator, he was the first to describe a pinwheel calculator in 1685 and invented the Leibniz wheel, used in the arithmometer, the first mass-produced mechanical calculator.He also refined the binary number system, which is the foundation of all digital computers.In philosophy, Leibniz is most noted for his optimism, i.e.