tcalc is a small Ruby-based RPN-calculator. It turns out that Ruby is pretty good at maths and deals well with complex or rational numbers etc. Anyway, in certain occasions a postfix syntax and a stack are better suited for calculations than ruby's infix syntax. So, here comes ...
:TCalc[!]
A small ruby-based RPN-calculator, a simple ASCII function plotter, and stack-based playground.
The tcalc.rb script can also be used as a stand-alone calculator (with optional support for curses and readline). Run "tcalc --help" for information on the command-line options.
Input:
Numbers (anything that starts with "-" or a decimal)
Strings (anything that matches /^"(.*?)"$/)
Be aware that the strings and numbers get evaluated by ruby.
You can thus execute ruby code by input like: -1;p'foo'
Methods & constants of the following classes are available:
Software Details:
Version: 0.11
Upload Date: 3 Jun 15
Distribution Type: Freeware
Downloads: 50
Comments not found