Base math functions support implemented.