mirror of
https://codeberg.org/scip/rpnc.git
synced 2025-12-17 12:31:04 +01:00
updated manual
This commit is contained in:
16
rpn.go
16
rpn.go
@@ -115,6 +115,22 @@ DESCRIPTION
|
||||
|
||||
You can use the shift command to remove the last number from the stack.
|
||||
|
||||
BUILTIN OPERATORS AND FUNCTIONS
|
||||
Basic operators: + - x /
|
||||
|
||||
Math functions:
|
||||
|
||||
sqrt square root
|
||||
mod remainder of division (alias: remainder)
|
||||
max batch mode only: max of all values
|
||||
min batch mode only: min of all values
|
||||
mean batch mode only: mean of all values (alias: avg)
|
||||
median batch mode only: median of all values
|
||||
% percent
|
||||
%- substract percent
|
||||
%+ add percent
|
||||
^ power
|
||||
|
||||
EXTENDING RPN USING LUA
|
||||
You can use a lua script with lua functions to extend the calculator. By
|
||||
default the tool looks for "~/.rpn.lua". You can also specify a script
|
||||
|
||||
16
rpn.pod
16
rpn.pod
@@ -121,6 +121,22 @@ The stack can be reversed using the B<reverse> command.
|
||||
You can use the B<shift> command to remove the last number from the
|
||||
stack.
|
||||
|
||||
=head2 BUILTIN OPERATORS AND FUNCTIONS
|
||||
|
||||
Basic operators: + - x /
|
||||
|
||||
Math functions:
|
||||
|
||||
sqrt square root
|
||||
mod remainder of division (alias: remainder)
|
||||
max batch mode only: max of all values
|
||||
min batch mode only: min of all values
|
||||
mean batch mode only: mean of all values (alias: avg)
|
||||
median batch mode only: median of all values
|
||||
% percent
|
||||
%- substract percent
|
||||
%+ add percent
|
||||
^ power
|
||||
|
||||
=head1 EXTENDING RPN USING LUA
|
||||
|
||||
|
||||
Reference in New Issue
Block a user