SEC is a calculator that solves simple math expressions with limitless precision. You can edit the precision value to get your desired number of decimal digits.
The following operators are supported:
+
Addition.-
Subtraction.*
Multiplication./
Division.%
Modulo (division remainder).
NOTE 1: The decimal digits are just clipped out at the desired amount without rounding. For example 1/3*2
results in 0.66666
instead of 0.66667
.
NOTE 2: the calculation isn't infinitely precise. For example 1/3*3
will result in 0.99999
because the result of the first division is 0.33333
and any extra decimal digits from it are just clipped out. Depending on how many operators your expression has, you may want to increase the precision a bit more than you need in order to improve the accuracy of the last digit(s).
Current status
SES is almost complete for what I need it for, except for:
^
Exponent operator.%
Real modulo (remainder) calculation. The current implementation works, but it's an ugly hack that uses several other operators and has to generate a bunch of unnecessary numbers. It doesn't really matter but I don't like it.- Would be nice to have more complex operators like sin/cos/sqrt, but I don't consider them necessary.
- Functions for round, floor, ceil, abs.
- Wrapping long values. Currently the text overflows outside the window.
The problem with the first 3 is that I don't know how to do infinite precision calculations, SEC does them using code that someone else wrote. So I can't really add or modify them.
Linux version is not planned, but I may make it some day.
Mac version not planned.
Download
Simple Expression Calculator 0.9
Download Simple_Expression_Calculator_0-9.zip - 124 KB
Report bugs/problems or request features: find my contact here.