github JackTulli/Linux-explorer v1.34.0
1.34.0: the expression calculator

3 hours ago

New

  • Calculator works on whole expressions (thanks to @HalanoSiblee, #10). The display shows the full sum as you type it, like -7+5-2*3/2^3. Pressing = works it out with the usual order: ^ first, then * and /, then + and -. Unary minus and brackets work too.
  • Clear errors. Mistakes such as 2*/2 or dividing by zero show a message instead of a wrong answer.
  • Thousands separators. Results are grouped, like 1,234,567.
  • Keys light up. Holding + - * / ^ on the keyboard lights up the matching button.

Fixed

  • √, 1/x, sin, cos, tan, log, ln and n! act on the number you just typed, not the whole sum: 9+16 √ gives 9+4. The next digit you type replaces the result, as in Windows.

  • % works the Windows way again. After + or −, it's that share of what comes before: 50+10% becomes 50+5, so = gives 55. After × or ÷, it's a plain hundredth: 200*10% gives 20.

  • Backspace after an error clears the message instead of deleting letters from it.

  • Long sums keep their end in view, where you're typing, instead of cutting it off.

  • ( and ) can be typed on the keyboard.

    curl -sL jacktulli.github.io/w2k | sh

Don't miss a new Linux-explorer release

NewReleases is sending notifications on new releases.