forked from bonsai/harakit
docs: removed unnecessary comments
This commit is contained in:
16
docs/rpn.1
16
docs/rpn.1
@@ -9,13 +9,13 @@
|
||||
rpn \(en reverse polish notation evaluation
|
||||
.\"
|
||||
.SH SYNOPSIS
|
||||
.\"
|
||||
|
||||
rpn
|
||||
.RB [ numbers... ]
|
||||
.RB [ operators... ]
|
||||
.\"
|
||||
.SH DESCRIPTION
|
||||
.\"
|
||||
|
||||
Evaluate reverse polish notation.
|
||||
|
||||
The program evaluates reverse polish notation expressions either read from the
|
||||
@@ -29,13 +29,13 @@ stack.
|
||||
For information on for reverse polish notation syntax, see rpn(7).
|
||||
.\"
|
||||
.SH STANDARD INPUT
|
||||
.\"
|
||||
|
||||
If arguments are passed, they are interpreted as an expression to be
|
||||
evaluated. Otherwise, it reads whitespace-delimited numbers and operations from
|
||||
the standard input.
|
||||
.\"
|
||||
.SH DIAGNOSTICS
|
||||
.\"
|
||||
|
||||
In the event of a syntax error, the program will print an
|
||||
|
||||
In the event of an error, a debug message will be printed and the program will
|
||||
@@ -44,7 +44,7 @@ exit with the appropriate
|
||||
error code.
|
||||
.\"
|
||||
.SH CAVEATS
|
||||
.\"
|
||||
|
||||
Due to precision constraints and the way floats are represented in accordance
|
||||
with the IEEE Standard for Floating Point Arithmetic (\fIIEEE 754\fP),
|
||||
floating-point arithmetic has rounding errors. This is somewhat curbed by using
|
||||
@@ -53,7 +53,7 @@ numbers. Because of this, variation is expected in the number of decimal places
|
||||
the program can handle based on the platform and hardware of any given machine.
|
||||
.\"
|
||||
.SH RATIONALE
|
||||
.\"
|
||||
|
||||
An infix notation calculation utility,
|
||||
.BR bc (1p),
|
||||
is included in the POSIX standard, but does not accept expressions as arguments;
|
||||
@@ -67,13 +67,13 @@ UNIX v2 onward. While it implements reverse polish notation, it still suffers
|
||||
from being unable to accept an expression as an argument.
|
||||
.\"
|
||||
.SH AUTHOR
|
||||
.\"
|
||||
|
||||
Written by Emma Tebibyte
|
||||
.MT emma@tebibyte.media
|
||||
.ME .
|
||||
.\"
|
||||
.SH COPYRIGHT
|
||||
.\"
|
||||
|
||||
Copyright (c) 2024 Emma Tebibyte. License AGPLv3+: GNU AGPL version 3 or later
|
||||
<https://gnu.org/licenses/agpl.html>.
|
||||
.\"
|
||||
|
||||
Reference in New Issue
Block a user