The Pascaline, an early mechanical calculator, was built in 1642 by mathematician Blaise Pascal.