A simple and light calculator. Support functions.