mirror of
https://codeberg.org/scip/rpnc.git
synced 2025-12-17 12:31:04 +01:00
Compare commits
1 Commits
feature/ad
...
doc/improv
| Author | SHA1 | Date | |
|---|---|---|---|
| d93fbe33dc |
40
rpn.go
40
rpn.go
@@ -132,6 +132,14 @@ DESCRIPTION
|
|||||||
x multiply (alias: *)
|
x multiply (alias: *)
|
||||||
^ power
|
^ power
|
||||||
|
|
||||||
|
Bitwise operators:
|
||||||
|
|
||||||
|
and bitwise and
|
||||||
|
or bitwise or
|
||||||
|
xor bitwise xor
|
||||||
|
< left shift
|
||||||
|
> right shift
|
||||||
|
|
||||||
Percent functions:
|
Percent functions:
|
||||||
|
|
||||||
% percent
|
% percent
|
||||||
@@ -153,19 +161,33 @@ DESCRIPTION
|
|||||||
log10 log1p log2 logb pow round roundtoeven sin sinh tan tanh trunc y0
|
log10 log1p log2 logb pow round roundtoeven sin sinh tan tanh trunc y0
|
||||||
y1 copysign dim hypot
|
y1 copysign dim hypot
|
||||||
|
|
||||||
Commands:
|
Conversion functions:
|
||||||
|
|
||||||
|
cm-to-inch
|
||||||
|
inch-to-cm
|
||||||
|
gallons-to-liters
|
||||||
|
liters-to-gallons
|
||||||
|
yards-to-meters
|
||||||
|
meters-to-yards
|
||||||
|
miles-to-kilometers
|
||||||
|
kilometers-to-miles
|
||||||
|
|
||||||
|
Configuration Commands:
|
||||||
|
|
||||||
[no]batch toggle batch mode (nobatch turns it off)
|
[no]batch toggle batch mode (nobatch turns it off)
|
||||||
[no]debug toggle debug output (nodebug turns it off)
|
[no]debug toggle debug output (nodebug turns it off)
|
||||||
[no]showstack show the last 5 items of the stack (noshowtack turns it off)
|
[no]showstack show the last 5 items of the stack (noshowtack turns it off)
|
||||||
dump display the stack contents
|
|
||||||
clear clear the whole stack
|
Show commands: dump display the stack contents hex show last stack item
|
||||||
shift remove the last element of the stack
|
in hex form (converted to int) history display calculation history vars
|
||||||
reverse reverse the stack elements
|
show list of variables
|
||||||
swap exchange the last two stack elements
|
|
||||||
dup duplicate last stack item
|
Stack manipulation commands: clear clear the whole stack shift remove
|
||||||
history display calculation history
|
the last element of the stack reverse reverse the stack elements swap
|
||||||
help|? show this message
|
exchange the last two stack elements dup duplicate last stack item undo
|
||||||
|
undo last operation
|
||||||
|
|
||||||
|
Other commands: help|? show this message manual show manual
|
||||||
quit|exit|c-d|c-c exit program
|
quit|exit|c-d|c-c exit program
|
||||||
|
|
||||||
Register variables:
|
Register variables:
|
||||||
|
|||||||
Reference in New Issue
Block a user