RPN Calculator for Sublime Text 3
- Total 115
- Win 65
- OS X 21
- Linux 29
|Aug 20||Aug 19||Aug 18||Aug 17||Aug 16||Aug 15||Aug 14||Aug 13||Aug 12||Aug 11||Aug 10||Aug 9||Aug 8||Aug 7||Aug 6||Aug 5||Aug 4||Aug 3||Aug 2||Aug 1||Jul 31||Jul 30||Jul 29||Jul 28||Jul 27||Jul 26||Jul 25||Jul 24||Jul 23||Jul 22||Jul 21||Jul 20||Jul 19||Jul 18||Jul 17||Jul 16||Jul 15||Jul 14||Jul 13||Jul 12||Jul 11||Jul 10||Jul 9||Jul 8||Jul 7||Jul 6|
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 ':'.