A standard function calculator.