Expression Calculator

Somewhere between a calculator and a notepad. Every line is worked out as you type, you can name a value and use it further down, and ans always holds the line above.

Your sums
Line by line

Type a sum on the left.

The last answer
-
Settings
Angles are in
What it understands
+ - * / %
the usual, with % as the remainder
^
to the power of, so 2^10 is 1024
5!
factorial
15%
a percentage on its own is 0.15
0xff 0b1010 1_000
hex, binary and readable digits
x = 4
names a value for later lines
ans
the answer from the line above
# note
anything after a hash is ignored
Functions

sin cos tan asin acos atan atan2 sinh cosh tanh sqrt cbrt root abs ln log log2 exp floor ceil round trunc sign min max pow hypot gcd lcm fact deg rad