Calculator

A hand-written recursive-descent parser — no eval(). Supports functions, constants and memory.

Memory: 0

Reference

Operators + − * / % ^ (right-associative power). Functions sin cos tan asin acos atan sqrt log ln log2 abs floor ceil round exp sign. Constants pi, e. Implicit multiplication works, e.g. 2pi or 3(4+1).

History