summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/precedent.15
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/precedent.1 b/doc/precedent.1
index 6b98479..0231d84 100644
--- a/doc/precedent.1
+++ b/doc/precedent.1
@@ -68,7 +68,10 @@ literals or key references. The following are examples of key references with ar
\-\- If its first argument is 0, returns 1. Otherwise, returns 0.
\fBsum()\fP
-\-\- Evaluates all its arguments. Returns the sum.
+\-\- Evaluates all its arguments and returns the sum. If any argument is a float, returns a float. Otherwise, returns an int.
+
+\fBsub()\fP
+\-\- Evaluates all its arguments. Subtracts every argument after the first from the first. Returns the result, which is a float if any arguments were floats, or an int if all arguments were ints.
\fBprint()\fP
\-\- Evaluates its first argument and prints it to the terminal.