Programming, geekery, LEGO and cool stuff. Awarding Geek Experience Points since 2014.
RPN Calculator Help for version 1.08
Reverse Polish Notation is a method for expressing algebra in which the operators are placed to the right of their operands. For example, the algebraic expression (4+5)*3 becomes
4 5 + 3 *.
Functions are placed to the right of their argument, and return a single value. For example, sin(x+y) becomes
x y + sin
^        Raise to power.
div      Integer division.
mod      Remainder of division.
and      Bitwise logical AND operation.
or      Bitwise logical OR operation.
eor      Bitwise logical EXCLUSIVE OR operation.
==     Checks for equality between the operands. Returns -1 (true) if the two operands are equal, otherwise returns 0 (false)
absA function which returns the absolute value of its numeric argument.
acsA function which returns, in radians, the arc-cosine of its numeric argument. The permitted range of the argument is –1 to +1.
asnA function which returns, in radians, the arc sine of its numeric argument. The permitted range of the argument is –1 to +1.
atnA function which returns, in radians, the arc tangent of its numeric argument. The permitted range of the argument is from minus infinity to plus infinity.
cosA function giving the cosine of its radian argument.
degA function which converts radians to degrees.
expA function returning 'e' to the power of the argument.
intA function truncating a real number to the lower integer.
invA function which returns the inverse 1/x of the argument.
lnThis function gives the logarithm to the base 'e' of its argument. The 'natural' number, 'e', is approximately 2.71828183.
logA function giving the base-10 logarithm of its argument.
notA function return the opposite boolean value to its argument. All +ve/-ve numbers evaluate as -1 (true). Zero evaluates as 0 (false)
radA function which converts degrees to radians.
rndA function which returns a random number. The type and range of the number returned depends upon the optional parameter.
sgnA function returning –1 for negative argument, 0 for zero argument and +1 for positive argument.
sinThis function returns the sine of an angle. The angle must be expressed in radians, not degrees.
sqrA function returning the square root of its argument.
tanThis function returns the tangent of an angle. The angle must be expressed in radians, not degrees.
roundThis function returns a real number rounded to the nearest integer.
acc offReturns the accumulator to its usual behaviour.
acc onPrevents the accumulator from clearing between calculations. The value of each calculation is added to the previous value of the accumulator.
adminOpens Windows admin tools.
binEnters BINARY mode (base 2).
bingSends search query to Bing, eg
bing this thing. Without a parameter, sets the preferred search engine to Bing.
clearSets the accumulator, all user-defined variables and the system clock to zero.
clockOpen Clock and alarms (if available).
cmdWindows command line.
copyCopies the accumulator to the Windows Clipboard. NB CTRL+C copies the current input line to the clipboard instead.
cortanaOpens Cortana (if available).
cpOpens Windows 'control panel' dialogue.
define wordDefines the search term using your browser.
denEnters DENARY mode (base 10).
desktopOpens the desktop.
dictionaryOpen superdecade dictionary.
driveMicrosoft maps (if available). eg
fileOpen a specific file. eg
filesOpens windows explorer.
free spaceShows free space on drive letter, eg
free space c.
google this thing. Without a parameter, sets the preferred search engine to Google.
helpLoads online help (you are currently reading it now).
hexEnters HEXADECIMAL mode (base 16).
magnifierOpens Windows magnifier tool.
notepadOpens Windows Wordpad.
octEnters OCTAL mode (base 8).
onenoteOpen OneNote (if avilable).
peopleOpen People (if available).
pingSends a ping to ip eg
powerShows current power status.
programsOpens the Windows 'programs' dialogue.
quitCloses the RPN calculator without further warning.
renameRename the title bar, eg
rename My shopping calculations.
restartRestart the computer.
set timeOpens the Windows 'set time' dialogue.
set dateOpens the Windows 'set date' dialogue.
settingsOpen Windows settings.
shellOpen Windows 10 shell command. eg
shutdownShuts down the computer.
soundOpens Windows sound controls.
tasksOpens Windows task scheduler.
updateCheck for updates.
userFinds current user
versionShows current version of RPN calc and OS.
walkMicrosoft maps (if available). eg
Special variables and constants
lastThis special variable holds the current value of the accumulator. Thus a calculation can make use of the previous result.
piThis variable has a constant value of 3.14159265
timeThis special variable holds the value of the current internal system clock in centi-seconds (one-hundreths of a second).
Making an assignment to a variable
The RPN calculator has 26 variables with the identifiers 'a', 'b', 'c' ... 'z'. Assignment to a variable is made as follows:
5 5 + = x
Here, the value '10' is assigned to the varible 'x'. This variable can now be used in further expressions.
All variables are initialised to zero upon the program starting, and can be cleared with the
- Insert - Toggle Insert/Overwrite mode
- Enter - End input
- Esc - Terminate input, returns NUL string
- Ctrl+J - As Enter but does not store in line history
- Ctrl+S - Toggle case of current character
- Ctrl+T - Transpose adjacent characters
- Ctrl+G - Sound system bell
- Left - Move left one character
- Right - Move right one character
- Ctrl+Left - Move left one word
- Ctrl+Right - Move right one word
- Home - Move to start
- End - Move to end
- Ctrl+C - Copy line to clipboard
- Ctrl+X - Cut line to clipboard
- Ctrl+V - Paste text from clipboard
- BkSp - Delete left one character
- Del - Delete right one character
- Ctrl+U - Clear input buffer
- Ctrl+Home - Delete to start
- Ctrl+End - Delete to end
- Up - Previous input
- Down - Next input
- Ctrl+Up - Select first input in buffer
- Ctrl+Down - Select last input
- Shift+Up - Skip back 16 inputs
- Shift+Down - Skip forward 16 inputs
The RPN Calculator no longer returns error messages. Failed queries are sent to your search engine of choice instead.
Type a word...
Or click these: apps games random