RPN Calculator for Sublime Text 3
- Total 108
- Win 63
- OS X 19
- Linux 26
|Apr 25||Apr 24||Apr 23||Apr 22||Apr 21||Apr 20||Apr 19||Apr 18||Apr 17||Apr 16||Apr 15||Apr 14||Apr 13||Apr 12||Apr 11||Apr 10||Apr 9||Apr 8||Apr 7||Apr 6||Apr 5||Apr 4||Apr 3||Apr 2||Apr 1||Mar 31||Mar 30||Mar 29||Mar 28||Mar 27||Mar 26||Mar 25||Mar 24||Mar 23||Mar 22||Mar 21||Mar 20||Mar 19||Mar 18||Mar 17||Mar 16||Mar 15||Mar 14||Mar 13||Mar 12|
RPN is a reverse-polish notation calculator featuring basic, programmer, scientific, and statistics modes.
Launch RPN with the rpn command or Ctrl+Command+C (Ctrl+Alt+C in Windows or Linux).
Press ':' to change modes, bases, and scientific notation.
Basic mode supports simple addition, subtraction, etc., with floating point numbers.
Programmer mode supports 4 different bases: hexadecimal, decimal, octal, and binary. It also supports commands such as shifting, inversion, AND, OR, and XOR.
Due to Sublime Text 3 limitations, the maximum sized value in programmer mode is specified in globals.py as BIN_MAX_BITS. It defaults to 48 bits. Using 64 for this constant will cause some issues within Sublime.
Scientific mode operates with floating point numbers and supports commands such as exponent, factorial, square, square root, log2, etc.
Scientific notation is supported in regular or Engineering notation. You can alter the notation from the Modes
Statistical mode has commands sum, average, and median which operate on the entire stack at once.
- Using Package Control, install “RPN”
Clone this repository into your Sublime Text Packages folder:
- OS X: ~/Library/Application Support/Sublime Text 3/Packages/
- Windows: %APPDATA%/Sublime Text 3/Packages/
- Linux: ~/.Sublime Text 3/Packages/ or ~/.config/sublime-text-3/Packages
Help is available within RPN by pressing '?'. Change modes by pressing ':'.