mrly.net

calculator

A plain four-function calculator: ten digits, a decimal point, add, subtract, multiply, divide, percent, sign flip and clear. It chains left to right the way a pocket calculator does, so 2 + 3 x 4 comes out as 20, not 14. Results are rounded to twelve significant digits, and dividing by zero shows Error instead of pretending.

Using