Broken Calculator

Eric has smashed his calculator, but some of it still works, so can you help him get the answers?
Game courtesy of Subtangent.com
The source can be downloaded here