An calculator with function support.